DSACryptoServiceProvider.ExportParameters Method (Boolean)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Exports the DSAParameters.

Namespace:   System.Security.Cryptography
Assembly:  mscorlib (in mscorlib.dll)

public override DSAParameters ExportParameters(
	bool includePrivateParameters
)

Parameters

includePrivateParameters
Type: System.Boolean

true to include private parameters; otherwise, false.

Return Value

Type: System.Security.Cryptography.DSAParameters

The parameters for DSA.

Exception Condition
CryptographicException

The key cannot be exported.

KeyContainerPermissionAccessEntryCollection

for permission to export a key. Security action: Demand. Associated enumeration: KeyContainerPermissionFlags.Export

.NET Framework
Available since 1.1
Return to top
Show: