Edit

Share via


DSACng.ExportParameters(Boolean) Method

Definition

Exports the DSA algorithm parameters.

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

Parameters

includePrivateParameters
Boolean

true to include private parameters; otherwise, false.

Returns

The DSA algorithm parameters.

Exceptions

DSA key is not a valid public or private key.

Applies to