2 writes to ServerCertificateValidationCallback
dotnet-svcutil-lib (2)
CmdCredentialsProvider.cs (2)
190
ServicePointManager.
ServerCertificateValidationCallback
+= new RemoteCertificateValidationCallback(this.ValidateServerCertificate);
201
ServicePointManager.
ServerCertificateValidationCallback
-= new RemoteCertificateValidationCallback(this.ValidateServerCertificate);
5 references to ServerCertificateValidationCallback
System.Net.Mail (2)
System\Net\Mail\SmtpConnection.cs (2)
236
SslStream 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)
189
SslStream sslStream = new SslStream(_dataStream, false, ServicePointManager.
ServerCertificateValidationCallback
);
397
SslStream sslStream = new SslStream(Stream, false, ServicePointManager.
ServerCertificateValidationCallback
);
System\Net\HttpWebRequest.cs (1)
147
ServerCertificateValidationCallback = webRequest.ServerCertificateValidationCallback ?? ServicePointManager.
ServerCertificateValidationCallback
;