7 references to DefineSwitchDefault
System.ServiceModel (7)
System\ServiceModel\AppContextDefaultValues.Default.cs (5)
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\LocalAppContextSwitches.cs (2)
109LocalAppContext.DefineSwitchDefault(DisableExplicitConnectionCloseHeaderString, true); 117LocalAppContext.DefineSwitchDefault(DisableCngCertificatesString, true);