Specify Client Certificate for SSL connection

Topics: Developer Forum, User Forum
Mar 12, 2013 at 9:58 PM
Is it possible to connect to an https page and specify the client side digital certificate to use for the connection?

For example, I would think it would be something like:
var webGet = new HtmlWeb();
webGet.CertificateLocation = "C:\cert.pfx";
var document = webGet.Load(url);
Or perhaps it would select from the existing certificate store available from Internet Explorer, so it would be something like:
var webGet = new HtmlWeb();
webGet.Certificate = "NameOfCertificate";
var document = webGet.Load(url);
Is there support for that? Or is there any other way to use a specific client certificate for the connection?

Thanks!