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