X509Certificate2Collection.Import Method (Byte[])

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Imports a certificate in the form of a byte array into a X509Certificate2Collection object.

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

public void Import(
	byte[] rawData
)

Parameters

rawData
Type: System.Byte[]

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

This method imports a certificate in the form of a byte array into a X509Certificate2Collection object. This method supports the following X509ContentType types:

.NET Framework
Available since 2.0
Return to top
Show: