ECAlgorithm.ExportECPrivateKey Method

Definition

Exports the current key in the ECPrivateKey format.

C#
public virtual byte[] ExportECPrivateKey();

Returns

Byte[]

A byte array containing the ECPrivateKey representation of this key.

Exceptions

The key could not be exported.

Applies to

Product Versions
.NET 7, 8, 9