by Shalabh Goel [sgoel at pacificlife dot com] posted on 2004/10/29 |
|
I have the following code. I am always getting a false when looking for the private key.
CertificateStore certStore = new CertificateStore(CertificateStore.MyStore);
Certificate cert = certStore.FindCertificateBySubjectString("TEST");
bool boo = cert.HasPrivateKey();
string name = cert.GetIssuerName(); |