ECDiffieHellmanCng.ExportExplicitParameters(Boolean) Method

Definition

Exports the key and explicit curve parameters used by the ECCurve 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 ECCurve object.

Exceptions

The method cannot obtain curve values.

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

Applies to