ICspAsymmetricAlgorithm.ExportCspBlob Method (Boolean)

 
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.

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: