Initializes a new instance of the X509Store class using a string representing a value from the StoreName enumeration and a value from the StoreLocation enumeration.
| C# | Visual Basic |
public X509Store( string storeName, StoreLocation location )
Public Sub New ( _ storeName As String, _ location As StoreLocation _ )
- storeName (String)
- A string value representing the store name. See the StoreName enumeration for more information.
- location (StoreLocation)
- One of the StoreLocation values.
Use this constructor to create an X509Store object using a store name and location.
To create a new store, specify a name that does not exist.
A new store will be created with that name.