Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ECDsaCng::ExportParameters Method (Boolean)

 

Exports the key used by the Elliptic curve cryptography (ECC) object into an ECParameters object. If the key was created as a named curve, the Curve field contains named curve parameters; otherwise, it contains explicit parameters.

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

public:
virtual ECParameters ExportParameters(
	bool includePrivateParameters
) override

Parameters

includePrivateParameters
Type: System::Boolean

true to include private parameters; otherwise, false.

Return Value

Type: System.Security.Cryptography::ECParameters

The key and named curve parameters used by the ECC object.

Exception Condition
CryptographicException

An error occurred while obtaining the curve values.

.NET Framework
Available since 4.7
Return to top
Show:
© 2017 Microsoft