Deletes a Certificate from the CertificateStore.

Namespace: LLCryptoLib.Security.Certificates
Assembly: 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

ExceptionCondition
System..::..ArgumentNullExceptioncert is a null reference (Nothing in Visual Basic).
LLCryptoLib.Security.Certificates..::..CertificateExceptionAn error occurs while removing the certificate from the store.

See Also