X509Store Constructor ()

 

Initializes a new instance of the X509Store class using the personal certificates of the current user store.

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

new : unit -> X509Store

Use this constructor to create an X509Store object using the personal X.509 certificate store for the current user.

The following code example opens an X.509 certificate store, adds and deletes certificates, and then closes the store. It assumes that you have three certificates to add to and remove from a local store.

No code example is currently available or this language may not be supported.

StorePermission

for opening an X.509 certificate store. Security action: Demand. Associated enumerations: StorePermissionFlags.OpenStore, StorePermissionFlags.EnumerateCertificates

.NET Framework
Available since 2.0
Return to top
Show: