Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DSACryptoServiceProvider.ExportCspBlob Method

Exports a blob containing the key information associated with a DSACryptoServiceProvider object.

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

[ComVisibleAttribute(false)]
public 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 containing the key information associated with a DSACryptoServiceProvider object.

Implements

ICspAsymmetricAlgorithm.ExportCspBlob(Boolean)

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

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Show:
© 2015 Microsoft