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