2 writes to ServerCertificateValidationCallback
dotnet-svcutil-lib (2)
CmdCredentialsProvider.cs (2)
190ServicePointManager.ServerCertificateValidationCallback += new RemoteCertificateValidationCallback(this.ValidateServerCertificate); 201ServicePointManager.ServerCertificateValidationCallback -= new RemoteCertificateValidationCallback(this.ValidateServerCertificate);
5 references to ServerCertificateValidationCallback
System.Net.Mail (2)
System\Net\Mail\SmtpConnection.cs (2)
236SslStream sslStream = new SslStream(_stream!, false, ServicePointManager.ServerCertificateValidationCallback); 700_connection._stream = new SslStream(_connection._stream!, false, ServicePointManager.ServerCertificateValidationCallback);
System.Net.Requests (3)
System\Net\FtpControlStream.cs (2)
189SslStream sslStream = new SslStream(_dataStream, false, ServicePointManager.ServerCertificateValidationCallback); 397SslStream sslStream = new SslStream(Stream, false, ServicePointManager.ServerCertificateValidationCallback);
System\Net\HttpWebRequest.cs (1)
147ServerCertificateValidationCallback = webRequest.ServerCertificateValidationCallback ?? ServicePointManager.ServerCertificateValidationCallback;