Edit

Share via


RSACng.ExportParameters(Boolean) Method

Definition

Exports the key used by the RSA object into a RSAParameters object.

public:
 override System::Security::Cryptography::RSAParameters ExportParameters(bool includePrivateParameters);
public override System.Security.Cryptography.RSAParameters ExportParameters (bool includePrivateParameters);
override this.ExportParameters : bool -> System.Security.Cryptography.RSAParameters
Public Overrides Function ExportParameters (includePrivateParameters As Boolean) As RSAParameters

Parameters

includePrivateParameters
Boolean

true to include private parameters; otherwise, false.

Returns

The key used by the RSA object.

Applies to