17 references to LocalAppContextSwitches
System.ServiceModel (17)
System\ServiceModel\AppContextDefaultValues.Default.cs (7)
27LocalAppContextSwitches.SetDefaultsLessOrEqual_452(); 32LocalAppContextSwitches.SetDefaultsLessOrEqual_461(); 38LocalAppContext.DefineSwitchDefault(LocalAppContextSwitches.DisableUsingServicePointManagerSecurityProtocolsString, true); 44LocalAppContext.DefineSwitchDefault(LocalAppContextSwitches.UseSha1InPipeConnectionGetHashAlgorithmString, true); 45LocalAppContext.DefineSwitchDefault(LocalAppContextSwitches.DisableAddressHeaderCollectionValidationString, true); 46LocalAppContext.DefineSwitchDefault(LocalAppContextSwitches.UseSha1InMsmqEncryptionAlgorithmString, true); 47LocalAppContext.DefineSwitchDefault(LocalAppContextSwitches.DontEnableSystemDefaultTlsVersionsString, true);
System\ServiceModel\Channels\AddressHeaderCollection.cs (1)
41else if (!LocalAppContextSwitches.DisableAddressHeaderCollectionValidation)
System\ServiceModel\Channels\HttpChannelHelpers.cs (1)
3010!LocalAppContextSwitches.DisableExplicitConnectionCloseHeader)
System\ServiceModel\Channels\PipeConnection.cs (1)
2843if (!LocalAppContextSwitches.UseSha1InPipeConnectionGetHashAlgorithm)
System\ServiceModel\Channels\TransportDefaults.cs (2)
167internal static MsmqSecureHashAlgorithm MsmqSecureHashAlgorithm { get { return LocalAppContextSwitches.UseSha1InMsmqEncryptionAlgorithm ? MsmqSecureHashAlgorithm.Sha1 : DefaultMsmqSecureHashAlgorithm; } } 215if (LocalAppContextSwitches.DontEnableSystemDefaultTlsVersions)
System\ServiceModel\Security\SecurityUtils.cs (1)
904if (!LocalAppContextSwitches.DisableCngCertificates)
System\ServiceModel\Security\TlsnegoTokenAuthenticator.cs (1)
174if (LocalAppContextSwitches.DisableUsingServicePointManagerSecurityProtocols)
System\ServiceModel\Security\TlsnegoTokenProvider.cs (1)
78if(LocalAppContextSwitches.DisableUsingServicePointManagerSecurityProtocols)
System\ServiceModel\Security\TlsSspiNegotiation.cs (1)
546if (System.ServiceModel.LocalAppContextSwitches.DisableCngCertificates)
System\ServiceModel\Security\WSSecurityOneDotZeroReceiveSecurityHeader.cs (1)
616if (LocalAppContextSwitches.AllowUnsignedToHeader)