Alex Rivera | Logout

Get list of certificates from the certificate store in C#

Asked 2009-07-30T08:48:20.263
50

For a secure application I need to select a certificate in a dialog. How can I access certificate store or a part of it (e.g. storeLocation="Local Machine" and storeName="My") using C# and get a collection of all certificates from there?

Edit
Report

1 Answer

4

Yes -- the X509Store.Certificates property returns a snapshot of the X.509 certificate store.

answered 2009-07-30T09:00:19.930

Your Answer