X509Certificate2 x509 = null;
var chain = new X509Chain();
chain.ChainPolicy.RevocationMode = X509RevocationMode.Online;
x509 = new X509Certificate2(Convert.FromBase64String(sslCert));
chain.Build(x509);
var store = new X509Store(StoreLocation.LocalMachine);
store.Open(OpenFlags.ReadOnly);
var collection = store.Certificates.Find(X509FindType.FindByApplicationPolicy, "1.3.6.1.5.5.7.3.1", true);
var handler = new WebRequestHandler();
var chosenCertificate = collection[0];
handler.ClientCertificates.Add(chosenCertificate);