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