I am trying to fetch a page using HttpWebRequest, but I am getting this exception:
Could not establish trust relationship for the SSL/TLS secure channel.
Is it possible to specify a custom RemoteCertificateValidationCallback for a particular instance of HttpWebRequest?
(I cannot use ServicePointManager.ServerCertificateValidationCallback, since my code is part of a library.)