无法理解store.Certificates.Find

时间:2012-11-30 02:00:18

标签: c#

var store = new X509Store(StoreName.My);

store.Open(OpenFlags.ReadOnly);

foreach (var mCert in store.Certificates)
{
   Response.Write(store.Certificates.Find(X509FindType.FindBySubjectName, mCert.SubjectName.Name, false).Count + "<br>"); 
}

为什么我有数 - 0作为回应?

0 个答案:

没有答案