<pre lang="c#"> <pre lang="cs"> var store = new X509Store(StoreName.My, StoreLocation.CurrentUser); store.Open(OpenFlags.ReadOnly); int count=store.Certificates.Count; var certs = store.Certificates.Find(X509FindType.FindBySerialNumber, cert.SerialNumber, true); store.Close();</pre>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)