System.Net.Configuration.AuthenticationModulesSectionInternal.GetSection C# (CSharp) Method

GetSection() static private method

static private GetSection ( ) : AuthenticationModulesSectionInternal
return AuthenticationModulesSectionInternal
        static internal AuthenticationModulesSectionInternal GetSection()
        {
            lock (AuthenticationModulesSectionInternal.ClassSyncObject)
            {
                AuthenticationModulesSection section = PrivilegedConfigurationManager.GetSection(ConfigurationStrings.AuthenticationModulesSectionPath) as AuthenticationModulesSection;
                if (section == null)
                    return null;

                return new AuthenticationModulesSectionInternal(section);
            }
        }
AuthenticationModulesSectionInternal