26 references to SecurityProtocolType
Microsoft.CodeAnalysis.CodeStyle.UnitTestUtilities (12)
src\Features\DiagnosticsTestUtilities\CodeActions\CSharpCodeFixVerifier`2+Test.cs (3)
42
if (ServicePointManager.SecurityProtocol == (
SecurityProtocolType
.Ssl3 |
SecurityProtocolType
.Tls))
46
ServicePointManager.SecurityProtocol =
SecurityProtocolType
.Tls12;
src\Features\DiagnosticsTestUtilities\CodeActions\CSharpCodeRefactoringVerifier`1+Test.cs (3)
42
if (ServicePointManager.SecurityProtocol == (
SecurityProtocolType
.Ssl3 |
SecurityProtocolType
.Tls))
46
ServicePointManager.SecurityProtocol =
SecurityProtocolType
.Tls12;
src\Features\DiagnosticsTestUtilities\CodeActions\VisualBasicCodeFixVerifier`2+Test.cs (3)
41
if (ServicePointManager.SecurityProtocol == (
SecurityProtocolType
.Ssl3 |
SecurityProtocolType
.Tls))
45
ServicePointManager.SecurityProtocol =
SecurityProtocolType
.Tls12;
src\Features\DiagnosticsTestUtilities\CodeActions\VisualBasicCodeRefactoringVerifier`1+Test.cs (3)
41
if (ServicePointManager.SecurityProtocol == (
SecurityProtocolType
.Ssl3 |
SecurityProtocolType
.Tls))
45
ServicePointManager.SecurityProtocol =
SecurityProtocolType
.Tls12;
Microsoft.ML.TestFramework (1)
BaseTestClass.cs (1)
31
ServicePointManager.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)
120
public readonly
SecurityProtocolType
SslProtocols;
System\Net\ServicePoint\ServicePointManager.cs (9)
19
private static
SecurityProtocolType
s_securityProtocolType =
SecurityProtocolType
.SystemDefault;
27
public static
SecurityProtocolType
SecurityProtocol
37
private static void ValidateSecurityProtocol(
SecurityProtocolType
value)
39
const
SecurityProtocolType
Allowed =
41
SecurityProtocolType
.Tls |
SecurityProtocolType
.Tls11 |
43
SecurityProtocolType
.Tls12 |
SecurityProtocolType
.Tls13;
System.Net.ServicePoint (1)
System.Net.ServicePoint.cs (1)
5
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.
SecurityProtocolType
))]