System.Security.Cryptography.X509Certificates.X509Certificate.Import Method

Populates the System.Security.Cryptography.X509Certificates.X509Certificate object with data from a byte array.

Syntax

[System.Runtime.InteropServices.ComVisible(false)]
public virtual void Import (byte[] rawData)

Parameters

rawData
A byte array containing data from an X.509 certificate.

Remarks

This method can be used to take the raw byte array of an X.509 certificate and populate the System.Security.Cryptography.X509Certificates.X509Certificate object with its associated values.

Requirements

Namespace: System.Security.Cryptography.X509Certificates
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0