ECDiffieHellmanCng.ExportExplicitParameters(Boolean) Method

Definition

Exports the key and explicit curve parameters used by the ECCurve object into an ECParameters object.

C#
public override System.Security.Cryptography.ECParameters ExportExplicitParameters(bool includePrivateParameters);

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

Product Versions
.NET 6, 7, 8, 9, 10
.NET Framework 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5