25 references to SecurityProtocolType
Microsoft.CodeAnalysis.CodeStyle.UnitTestUtilities (12)
src\Features\DiagnosticsTestUtilities\CodeActions\CSharpCodeFixVerifier`2+Test.cs (3)
42if (ServicePointManager.SecurityProtocol == (SecurityProtocolType.Ssl3 | SecurityProtocolType.Tls)) 46ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
src\Features\DiagnosticsTestUtilities\CodeActions\CSharpCodeRefactoringVerifier`1+Test.cs (3)
42if (ServicePointManager.SecurityProtocol == (SecurityProtocolType.Ssl3 | SecurityProtocolType.Tls)) 46ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
src\Features\DiagnosticsTestUtilities\CodeActions\VisualBasicCodeFixVerifier`2+Test.cs (3)
41if (ServicePointManager.SecurityProtocol == (SecurityProtocolType.Ssl3 | SecurityProtocolType.Tls)) 45ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
src\Features\DiagnosticsTestUtilities\CodeActions\VisualBasicCodeRefactoringVerifier`1+Test.cs (3)
41if (ServicePointManager.SecurityProtocol == (SecurityProtocolType.Ssl3 | SecurityProtocolType.Tls)) 45ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
netstandard (1)
netstandard.cs (1)
1252[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.SecurityProtocolType))]
System (1)
src\libraries\shims\System\ref\System.cs (1)
740[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.SecurityProtocolType))]
System.Net.Requests (10)
System\Net\HttpWebRequest.cs (1)
120public readonly SecurityProtocolType SslProtocols;
System\Net\ServicePoint\ServicePointManager.cs (9)
19private static SecurityProtocolType s_securityProtocolType = SecurityProtocolType.SystemDefault; 27public static SecurityProtocolType SecurityProtocol 37private static void ValidateSecurityProtocol(SecurityProtocolType value) 39const SecurityProtocolType Allowed = 41SecurityProtocolType.Tls | SecurityProtocolType.Tls11 | 43SecurityProtocolType.Tls12 | SecurityProtocolType.Tls13;
System.Net.ServicePoint (1)
System.Net.ServicePoint.cs (1)
5[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.SecurityProtocolType))]