ECDiffieHellmanPublicKey::ToByteArray Method ()

 

Serializes the ECDiffieHellmanPublicKey key BLOB to a byte array.

Namespace:   System.Security.Cryptography
Assembly:  System.Core (in System.Core.dll)

public:
virtual array<unsigned char>^ ToByteArray()

Return Value

Type: array<System::Byte>^

A byte array that contains the serialized Elliptic Curve Diffie-Hellman (ECDH) public key.

.NET Framework
Available since 3.5
Return to top
Show: