39 references to ServicePointManager
dotnet-svcutil-lib (3)
CmdCredentialsProvider.cs (2)
190
ServicePointManager
.ServerCertificateValidationCallback += new RemoteCertificateValidationCallback(this.ValidateServerCertificate);
201
ServicePointManager
.ServerCertificateValidationCallback -= new RemoteCertificateValidationCallback(this.ValidateServerCertificate);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MetadataExchangeClient.cs (1)
423
ServicePointManager
.CheckCertificateRevocationList = true;
Microsoft.CodeAnalysis.CodeStyle.UnitTestUtilities (8)
src\Features\DiagnosticsTestUtilities\CodeActions\CSharpCodeFixVerifier`2+Test.cs (2)
42
if (
ServicePointManager
.SecurityProtocol == (SecurityProtocolType.Ssl3 | SecurityProtocolType.Tls))
46
ServicePointManager
.SecurityProtocol = SecurityProtocolType.Tls12;
src\Features\DiagnosticsTestUtilities\CodeActions\CSharpCodeRefactoringVerifier`1+Test.cs (2)
42
if (
ServicePointManager
.SecurityProtocol == (SecurityProtocolType.Ssl3 | SecurityProtocolType.Tls))
46
ServicePointManager
.SecurityProtocol = SecurityProtocolType.Tls12;
src\Features\DiagnosticsTestUtilities\CodeActions\VisualBasicCodeFixVerifier`2+Test.cs (2)
41
if (
ServicePointManager
.SecurityProtocol == (SecurityProtocolType.Ssl3 | SecurityProtocolType.Tls))
45
ServicePointManager
.SecurityProtocol = SecurityProtocolType.Tls12;
src\Features\DiagnosticsTestUtilities\CodeActions\VisualBasicCodeRefactoringVerifier`1+Test.cs (2)
41
if (
ServicePointManager
.SecurityProtocol == (SecurityProtocolType.Ssl3 | SecurityProtocolType.Tls))
45
ServicePointManager
.SecurityProtocol = SecurityProtocolType.Tls12;
Microsoft.DotNet.SignCheck (1)
SignCheck.cs (1)
465
ServicePointManager
.CheckCertificateRevocationList = true;
Microsoft.ML.TestFramework (1)
BaseTestClass.cs (1)
31
ServicePointManager
.SecurityProtocol = SecurityProtocolType.Tls12;
netstandard (1)
netstandard.cs (1)
1254
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.
ServicePointManager
))]
System (1)
src\libraries\shims\System\ref\System.cs (1)
742
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.
ServicePointManager
))]
System.Net.HttpListener (1)
System\Net\Managed\HttpConnection.cs (1)
106
_sslStream?.AuthenticateAsServer(_cert, true, (SslProtocols)
ServicePointManager
.SecurityProtocol, false);
System.Net.Mail (7)
System\Net\Mail\SmtpClient.cs (1)
275
return _servicePoint ??=
ServicePointManager
.FindServicePoint(new Uri($"mailto:{_host}:{_port}"));
System\Net\Mail\SmtpConnection.cs (6)
236
SslStream sslStream = new SslStream(_stream!, false,
ServicePointManager
.ServerCertificateValidationCallback);
241
(SslProtocols)
ServicePointManager
.SecurityProtocol, // enums use same values
242
ServicePointManager
.CheckCertificateRevocationList);
700
_connection._stream = new SslStream(_connection._stream!, false,
ServicePointManager
.ServerCertificateValidationCallback);
705
(SslProtocols)
ServicePointManager
.SecurityProtocol, // enums use same values
706
ServicePointManager
.CheckCertificateRevocationList,
System.Net.Requests (15)
System\Net\FtpControlStream.cs (10)
189
SslStream sslStream = new SslStream(_dataStream, false,
ServicePointManager
.ServerCertificateValidationCallback);
198
(SslProtocols)
ServicePointManager
.SecurityProtocol, // enums use same values
199
ServicePointManager
.CheckCertificateRevocationList,
209
(SslProtocols)
ServicePointManager
.SecurityProtocol, // enums use same values
210
ServicePointManager
.CheckCertificateRevocationList);
397
SslStream sslStream = new SslStream(Stream, false,
ServicePointManager
.ServerCertificateValidationCallback);
404
(SslProtocols)
ServicePointManager
.SecurityProtocol, // enums use same values
405
ServicePointManager
.CheckCertificateRevocationList,
429
(SslProtocols)
ServicePointManager
.SecurityProtocol, // enums use same values
430
ServicePointManager
.CheckCertificateRevocationList);
System\Net\FtpWebRequest.cs (1)
475
public ServicePoint ServicePoint => _servicePoint ??=
ServicePointManager
.FindServicePoint(_uri);
System\Net\HttpWebRequest.cs (4)
143
SslProtocols =
ServicePointManager
.SecurityProtocol;
144
CheckCertificateRevocationList =
ServicePointManager
.CheckCertificateRevocationList;
147
ServerCertificateValidationCallback = webRequest.ServerCertificateValidationCallback ??
ServicePointManager
.ServerCertificateValidationCallback;
789
public ServicePoint ServicePoint => _servicePoint ??=
ServicePointManager
.FindServicePoint(Address, Proxy);
System.Net.ServicePoint (1)
System.Net.ServicePoint.cs (1)
7
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.
ServicePointManager
))]