Adds a Certificate to the CertificateStore.
Namespace: LLCryptoLib.Security.CertificatesAssembly: LLCryptoLib (in LLCryptoLib.dll) Version: 2.0.1024.0 (2.0.1024)
Syntax
| C# |
|---|
public void AddCertificate( Certificate cert ) |
| Visual Basic |
|---|
Public Sub AddCertificate ( _ cert As Certificate _ ) |
| Visual C++ |
|---|
public: void AddCertificate( Certificate^ cert ) |
Parameters
- cert
- Type: LLCryptoLib.Security.Certificates..::..Certificate
The certificate to add to the store.
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentNullException | cert is a null reference (Nothing in Visual Basic). |
| LLCryptoLib.Security.Certificates..::..CertificateException | An error occurs while adding the certificate to the store. |