Adds a certificate store to the collection.
Namespace: LLCryptoLib.Security.CertificatesAssembly: LLCryptoLib (in LLCryptoLib.dll) Version: 2.0.1024.0 (2.0.1024)
Syntax
| C# |
|---|
public void AddStore( CertificateStore store ) |
| Visual Basic |
|---|
Public Sub AddStore ( _ store As CertificateStore _ ) |
| Visual C++ |
|---|
public: void AddStore( CertificateStore^ store ) |
Parameters
- store
- Type: LLCryptoLib.Security.Certificates..::..CertificateStore
An instance of the CertificateStore class.
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentNullException | store is a null reference (Nothing in Visual Basic). |
| System..::..ArgumentException | The specified certificate store is a CertificateStoreCollection instance. This is not allowed to avoid circular dependencies. |
| LLCryptoLib.Security.Certificates..::..CertificateException | An error occurs while adding the certificate to the collection. |