18 references to LocalAppContext
System.ServiceModel (18)
parent\parent\parent\parent\parent\InternalApis\Clr\inc\LocalAppContext.cs (3)
116
if (
LocalAppContext
.DisableCaching)
118
return
LocalAppContext
.IsSwitchEnabled(switchName);
121
bool isEnabled =
LocalAppContext
.IsSwitchEnabled(switchName);
System\ServiceModel\AppContextDefaultValues.Default.cs (5)
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\LocalAppContextSwitches.cs (10)
38
return
LocalAppContext
.GetCachedSwitchValue(DontEnableSystemDefaultTlsVersionsString, ref dontEnableSystemDefaultTlsVersions);
47
return
LocalAppContext
.GetCachedSwitchValue(UseSha1InMsmqEncryptionAlgorithmString, ref useSha1InMsmqEncryptionAlgorithm);
56
return
LocalAppContext
.GetCachedSwitchValue(DisableAddressHeaderCollectionValidationString, ref disableAddressHeaderCollectionValidation);
65
return
LocalAppContext
.GetCachedSwitchValue(UseSha1InPipeConnectionGetHashAlgorithmString, ref useSha1InPipeConnectionGetHashAlgorithm);
74
return
LocalAppContext
.GetCachedSwitchValue(DisableExplicitConnectionCloseHeaderString, ref disableExplicitConnectionCloseHeader);
83
return
LocalAppContext
.GetCachedSwitchValue(AllowUnsignedToHeaderString, ref allowUnsignedToHeader);
92
return
LocalAppContext
.GetCachedSwitchValue(DisableCngCertificatesString, ref disableCngCertificates);
101
return
LocalAppContext
.GetCachedSwitchValue(DisableUsingServicePointManagerSecurityProtocolsString, ref disableUsingServicePointManagerSecurityProtocols);
109
LocalAppContext
.DefineSwitchDefault(DisableExplicitConnectionCloseHeaderString, true);
117
LocalAppContext
.DefineSwitchDefault(DisableCngCertificatesString, true);