ICspAsymmetricAlgorithm.ExportCspBlob Method (Boolean)

 

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

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

byte[] ExportCspBlob(
	bool includePrivateParameters
)

Parameters

includePrivateParameters
Type: System.Boolean

true to include the private key; otherwise, false.

Return Value

Type: System.Byte[]

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

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

.NET Framework
Available since 2.0
Windows Phone Silverlight
Available since 7.1
Return to top
Show: