StoreName Enumeration

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Specifies the name of the X.509 certificate store to open.

Namespace:  System.Security.Cryptography.X509Certificates
Assembly:  System.Security (in System.Security.dll)

public enum StoreName

Member nameDescription
DisallowedThe X.509 certificate store for revoked certificates.
MyThe X.509 certificate store for personal certificates.
CAThe X.509 certificate store for trusted root certificate authorities (CAs).

This enumeration specifies the X.509 store name, which also includes the type of certificates included. For example, My includes personal certificates, whereas Disallowed includes only revoked certificates.