HttpWebRequest.ServerCertificateValidationCallback
allows you to override the logic for server certificate validation when using HTTPS.
There is no equivalent property on FtpWebRequest
.
How can I override server certificate validation when using FtpWebRequest
?
I am aware of ServicePointManager.ServerCertificateValidationCallback
, but am looking for a solution that will only affect the current FtpWebRequest
object.