System.Security.Cryptography.ICspAsymmetricAlgorithm.ExportCspBlob Method

Exports a blob that contains the key information associated with an System.Security.Cryptography.AsymmetricAlgorithm object.

Syntax

public byte[] ExportCspBlob (bool includePrivateParameters)

Parameters

includePrivateParameters
true to include the private key; otherwise, false.

Returns

A byte array that contains the key information associated with an System.Security.Cryptography.AsymmetricAlgorithm object.

Remarks

The ICspAsymmetricAlgorithm.ExportCspBlob(bool) method returns a blob that contains key information that is compatible with the unmanaged Microsoft Cryptographic API (CAPI).

Requirements

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