DSACryptoServiceProvider.ExportParameters(Boolean) Method

Definition

Exports the DSAParameters.

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 parameters for DSA.

Exceptions

The key cannot be exported.

Applies to

See also