Adds the certificate object to this collection if its value is not already present.

 

   

Syntax
 

[C#]
bool Add(X509Certificate2 cert)
[Visual Basic]
Function Add(cert As X509Certificate2) As Boolean

Throws Exceptions may throw Exception()

 

   

Params
 
Name Description
cert The certificate object.
return True if the certificate object is added; false if the certificate object or its value is already present.

 

   

Notes
 

This method adds the certificate object to the collection if its value is not already present.

 

   

Example
 

None.