You've already forked linux-packaging-mono
Imported Upstream version 5.4.0.167
Former-commit-id: 5624ac747d633e885131e8349322922b6a59baaa
This commit is contained in:
parent
e49d6f06c0
commit
536cd135cc
@ -15,10 +15,12 @@ namespace System.ServiceModel
|
||||
private const string DisableExplicitConnectionCloseHeaderString = "Switch.System.ServiceModel.DisableExplicitConnectionCloseHeader";
|
||||
private const string AllowUnsignedToHeaderString = "Switch.System.ServiceModel.AllowUnsignedToHeader";
|
||||
private const string DisableCngCertificatesString = "Switch.System.ServiceModel.DisableCngCertificates";
|
||||
internal const string DisableUsingServicePointManagerSecurityProtocolsString = "Switch.System.ServiceModel.DisableUsingServicePointManagerSecurityProtocols";
|
||||
|
||||
private static int disableExplicitConnectionCloseHeader;
|
||||
private static int allowUnsignedToHeader;
|
||||
private static int disableCngCertificates;
|
||||
private static int disableUsingServicePointManagerSecurityProtocols;
|
||||
|
||||
public static bool DisableExplicitConnectionCloseHeader
|
||||
{
|
||||
@ -47,6 +49,15 @@ namespace System.ServiceModel
|
||||
}
|
||||
}
|
||||
|
||||
public static bool DisableUsingServicePointManagerSecurityProtocols
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
get
|
||||
{
|
||||
return LocalAppContext.GetCachedSwitchValue(DisableUsingServicePointManagerSecurityProtocolsString, ref disableUsingServicePointManagerSecurityProtocols);
|
||||
}
|
||||
}
|
||||
|
||||
public static void SetDefaultsLessOrEqual_452()
|
||||
{
|
||||
#pragma warning disable BCL0012
|
||||
|
Reference in New Issue
Block a user