Retrieving Certificate Information from Windows Server 2008
1 answer
With "issued certificates" do you mean certificates issued by this field, or by this box?
Anyway, something like this should get you started playing with the certificate stores:
using System;
using System.Security.Cryptography.X509Certificates;
class CertificateStoreSample
{
static void Main(string[] args)
{
X509Store store = new X509Store(StoreName.Root);
store.Open(OpenFlags.ReadOnly);
foreach (X509Certificate certificate in store.Certificates)
{
Console.WriteLine(certificate.Subject);
}
store.Close();
}
}
0
source to share