ExportParameters Method

RSACryptoServiceProvider.ExportParameters Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Exports the RSAParameters.

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

public override RSAParameters ExportParameters(
	bool includePrivateParameters
)

Parameters

includePrivateParameters
Type: System.Boolean
true to include private parameters; otherwise, false.

Return Value

Type: System.Security.Cryptography.RSAParameters
The parameters for RSA.

ExceptionCondition
CryptographicException

The key cannot be exported.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft