Export (0) Print
Expand All

RSACryptoServiceProvider.ExportCspBlob Method

Exports a blob containing the key information associated with an RSACryptoServiceProvider object.

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

'Declaration
<ComVisibleAttribute(False)> _
Public Function ExportCspBlob ( _
	includePrivateParameters As Boolean _
) As Byte()

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 an RSACryptoServiceProvider 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

Supported in: Windows Phone 8.1

Supported in: Windows Phone Silverlight 8.1

Supported in: Windows Phone Silverlight 8

Show:
© 2015 Microsoft