ECDiffieHellman.ExportECPrivateKey Method

Definition

Exports the current key in the ECPrivateKey format.

public:
 virtual cli::array <System::Byte> ^ ExportECPrivateKey();
public virtual byte[] ExportECPrivateKey ();
abstract member ExportECPrivateKey : unit -> byte[]
override this.ExportECPrivateKey : unit -> byte[]
Public Overridable Function ExportECPrivateKey () As Byte()

Returns

Byte[]

A byte array containing the ECPrivateKey representation of this key.

Exceptions

The key could not be exported.

Applies to

See also