Mentalis.org Security Library documentation

CertificateStore.AddCertificate Method 

Adds a Certificate to the CertificateStore.

[Visual Basic]
Public Sub AddCertificate( _
   ByVal cert As Certificate _
)
[C#]
public void AddCertificate(
   Certificate cert
);

Parameters

cert
The certificate to add to the store.

Exceptions

Exception TypeCondition
ArgumentNullExceptioncert is a null reference (Nothing in Visual Basic).
CertificateExceptionAn error occurs while adding the certificate to the store.

See Also

CertificateStore Class | CertificateStore Members | Org.Mentalis.Security.Certificates Namespace