System.Security.Cryptography.X509Certificates.X509Extension.CopyFrom Method

Copies the extension properties of the specified System.Security.Cryptography.AsnEncodedData object.

Syntax

public override void CopyFrom (System.Security.Cryptography.AsnEncodedData asnEncodedData)

Parameters

asnEncodedData
The System.Security.Cryptography.AsnEncodedData to be copied.

Remarks

Use this method to copy the extension properties of the specified System.Security.Cryptography.X509Certificates.X509Extension and add them to the instance of the System.Security.Cryptography.X509Certificates.X509Extension class from which this method is called.

Requirements

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