Export (0) Print
Expand All

X509Store Constructor (String)

Initializes a new instance of the X509Store class using the specified store name.

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

new : 
        storeName:string -> X509Store

Parameters

storeName
Type: System.String

A string value that represents the store name. See StoreName for more information.

Use this constructor to create an X509Store object using a particular X.509 store name for the current user. To create a new store, specify a name that does not exist. A new store will be created with that name.

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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Show:
© 2015 Microsoft