System.Net.Mail.SmtpAuthenticationManager.Register C# (CSharp) Method

Register() static private method

static private Register ( ISmtpAuthenticationModule module ) : void
module ISmtpAuthenticationModule
return void
        internal static void Register(ISmtpAuthenticationModule module)
        {
            if (module == null)
                throw new ArgumentNullException(nameof(module));

            lock (s_modules)
            {
                s_modules.Add(module);
            }
        }