DSACng.ExportParameters(Boolean) Method  
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.DSAParametersPublic Overrides Function ExportParameters (includePrivateParameters As Boolean) As DSAParametersParameters
- 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.