Bewerken

Share via


ECDsaCng.ExportExplicitParameters(Boolean) Method

Definition

Exports the key and explicit curve parameters used by the Elliptic curve cryptography (ECC) object into an ECParameters object.

public:
 override System::Security::Cryptography::ECParameters ExportExplicitParameters(bool includePrivateParameters);
public override System.Security.Cryptography.ECParameters ExportExplicitParameters (bool includePrivateParameters);
override this.ExportExplicitParameters : bool -> System.Security.Cryptography.ECParameters
Public Overrides Function ExportExplicitParameters (includePrivateParameters As Boolean) As ECParameters

Parameters

includePrivateParameters
Boolean

true to include private parameters; otherwise, false.

Returns

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

Exceptions

An error occurred while obtaining the curve values.

Explicit export is not supported by this platform. Windows 10 or higher is required.

Applies to