Compartilhar via


X509Certificate2Collection.Add Method (X509Certificate2)

Adds an object to the end of the X509Certificate2Collection.

Namespace: System.Security.Cryptography.X509Certificates
Assembly: System.Security (in system.security.dll)

Syntax

public int Add (
         X509Certificate2 value
)

Parameters

  • value
    An X.509 certificate represented as an X509Certificate2 object.

Return Value

The X509Certificate2Collection index at which the certificate has been added.

Version Information

Available in the .NET Micro Framework version 4.2.

See Also

Reference

X509Certificate2Collection Class
X509Certificate2Collection Members
System.Security.Cryptography.X509Certificates Namespace