ECDiffieHellmanPublicKey.ToByteArray Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Serializes the ECDiffieHellmanPublicKey key BLOB to a byte array.
public:
virtual cli::array <System::Byte> ^ ToByteArray();
public virtual byte[] ToByteArray();
abstract member ToByteArray : unit -> byte[]
override this.ToByteArray : unit -> byte[]
Public Overridable Function ToByteArray () As Byte()
Returns
A byte array that contains the serialized Elliptic Curve Diffie-Hellman (ECDH) public key.
Exceptions
Linux and macOS: In all cases.