Initializes a new CertificateStore from a given store name and a given store location.
Namespace: LLCryptoLib.Security.CertificatesAssembly: LLCryptoLib (in LLCryptoLib.dll) Version: 2.0.1024.0 (2.0.1024)
Syntax
C# |
---|
public CertificateStore( StoreLocation location, string store ) |
Visual Basic |
---|
Public Sub New ( _ location As StoreLocation, _ store As String _ ) |
Visual C++ |
---|
public: CertificateStore( StoreLocation location, String^ store ) |
Parameters
- location
- Type: LLCryptoLib.Security.Certificates..::..StoreLocation
The location of the store.
- store
- Type: System..::..String
The name of the store to open.
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | store is a null reference (Nothing in Visual Basic). |
LLCryptoLib.Security.Certificates..::..CertificateException | An error occurs while opening the specified store. |