摘要:
C#检查证书是否存在1 X509Store store = new X509Store(StoreName.Root, StoreLocation.LocalMachine);2 store.Open(OpenFlags.MaxAllowed);3 X509Certificate2Collection certs = store.Certificates.Find(X509FindType.FindBySubjectName, "SRCA", false);4 if (certs.Count == 0 || certs[0... 阅读全文