ECDiffieHellmanPublicKey.ToByteArray Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Serializes the ECDiffieHellmanPublicKey key BLOB to a byte array.

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

public virtual byte[] ToByteArray()

Return Value

Type: 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: