views:

1011

answers:

1

For an secure application I need a possibility to select a certificate in a dialog. How can I access with C# to the certifacte store or a part of it (e.g. storeLocation="Local Machine" and storeName="My") and get a list/collections of all certificates from there. I suppose I can do this with System.Security.Cryptography.X509Certificates !? Thanks in advance for your help.

+1  A: 

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

Steve Gilham