How to RestSharp add client certificate in Https request ? My code it doesn\'t work .
public static IRestResponse AsyncHttpRequestLogIn(strin
At first you should import certificate and then attach to request
X509Certificate2 certificate = new X509Certificate2(); certificates.Import(...); client.ClientCertificates = new X509CertificateCollection(){certificate};