ECDiffieHellmanPublicKey.ToByteArray Methode

Definition

Achtung

ECDiffieHellmanPublicKey.ToByteArray() and the associated constructor do not have a consistent and interoperable implementation on all platforms. Use ECDiffieHellmanPublicKey.ExportSubjectPublicKeyInfo() instead.

Serialisiert den ECDiffieHellmanPublicKey Schlüssel-BLOB in ein Bytearray.

public:
 virtual cli::array <System::Byte> ^ ToByteArray();
[System.Obsolete("ECDiffieHellmanPublicKey.ToByteArray() and the associated constructor do not have a consistent and interoperable implementation on all platforms. Use ECDiffieHellmanPublicKey.ExportSubjectPublicKeyInfo() instead.", DiagnosticId="SYSLIB0043", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public virtual byte[] ToByteArray();
public virtual byte[] ToByteArray();
[<System.Obsolete("ECDiffieHellmanPublicKey.ToByteArray() and the associated constructor do not have a consistent and interoperable implementation on all platforms. Use ECDiffieHellmanPublicKey.ExportSubjectPublicKeyInfo() instead.", DiagnosticId="SYSLIB0043", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
abstract member ToByteArray : unit -> byte[]
override this.ToByteArray : unit -> byte[]
abstract member ToByteArray : unit -> byte[]
override this.ToByteArray : unit -> byte[]
Public Overridable Function ToByteArray () As Byte()

Gibt zurück

Byte[]

Ein Bytearray, das den serialisierten öffentlichen Schlüssel "Elliptic Curve Diffie-Hellman" (ECDH) enthält.

Attribute

Ausnahmen

Linux und macOS: In allen Fällen.

Gilt für: