DSACng.ExportParameters(Boolean) Method

Definition

Exports the DSA algorithm parameters.

C#
public override System.Security.Cryptography.DSAParameters ExportParameters(bool includePrivateParameters);

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

Proizvod Verzije
.NET 6, 7, 8, 9, 10
.NET Framework 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided), 2.1 (package-provided)
Windows Desktop 3.0, 3.1, 5