摘要: 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... 阅读全文
posted @ 2012-09-23 23:40 Lyghost 阅读(4780) 评论(0) 推荐(0) 编辑