Adds a Certificate to the CertificateStore.

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

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

See Also