4 writes to SecurityProtocol
Microsoft.CodeAnalysis.CodeStyle.UnitTestUtilities (4)
src\Features\DiagnosticsTestUtilities\CodeActions\CSharpCodeFixVerifier`2+Test.cs (1)
46
ServicePointManager.
SecurityProtocol
= SecurityProtocolType.Tls12;
src\Features\DiagnosticsTestUtilities\CodeActions\CSharpCodeRefactoringVerifier`1+Test.cs (1)
46
ServicePointManager.
SecurityProtocol
= SecurityProtocolType.Tls12;
src\Features\DiagnosticsTestUtilities\CodeActions\VisualBasicCodeFixVerifier`2+Test.cs (1)
45
ServicePointManager.
SecurityProtocol
= SecurityProtocolType.Tls12;
src\Features\DiagnosticsTestUtilities\CodeActions\VisualBasicCodeRefactoringVerifier`1+Test.cs (1)
45
ServicePointManager.
SecurityProtocol
= SecurityProtocolType.Tls12;
12 references to SecurityProtocol
Microsoft.CodeAnalysis.CodeStyle.UnitTestUtilities (4)
src\Features\DiagnosticsTestUtilities\CodeActions\CSharpCodeFixVerifier`2+Test.cs (1)
42
if (ServicePointManager.
SecurityProtocol
== (SecurityProtocolType.Ssl3 | SecurityProtocolType.Tls))
src\Features\DiagnosticsTestUtilities\CodeActions\CSharpCodeRefactoringVerifier`1+Test.cs (1)
42
if (ServicePointManager.
SecurityProtocol
== (SecurityProtocolType.Ssl3 | SecurityProtocolType.Tls))
src\Features\DiagnosticsTestUtilities\CodeActions\VisualBasicCodeFixVerifier`2+Test.cs (1)
41
if (ServicePointManager.
SecurityProtocol
== (SecurityProtocolType.Ssl3 | SecurityProtocolType.Tls))
src\Features\DiagnosticsTestUtilities\CodeActions\VisualBasicCodeRefactoringVerifier`1+Test.cs (1)
41
if (ServicePointManager.
SecurityProtocol
== (SecurityProtocolType.Ssl3 | SecurityProtocolType.Tls))
System.Net.HttpListener (1)
System\Net\Managed\HttpConnection.cs (1)
106
_sslStream?.AuthenticateAsServer(_cert, true, (SslProtocols)ServicePointManager.
SecurityProtocol
, false);
System.Net.Mail (2)
System\Net\Mail\SmtpConnection.cs (2)
241
(SslProtocols)ServicePointManager.
SecurityProtocol
, // enums use same values
705
(SslProtocols)ServicePointManager.
SecurityProtocol
, // enums use same values
System.Net.Requests (5)
System\Net\FtpControlStream.cs (4)
198
(SslProtocols)ServicePointManager.
SecurityProtocol
, // enums use same values
209
(SslProtocols)ServicePointManager.
SecurityProtocol
, // enums use same values
404
(SslProtocols)ServicePointManager.
SecurityProtocol
, // enums use same values
429
(SslProtocols)ServicePointManager.
SecurityProtocol
, // enums use same values
System\Net\HttpWebRequest.cs (1)
143
SslProtocols = ServicePointManager.
SecurityProtocol
;