อ่านในภาษาอังกฤษ แก้ไข

แชร์ผ่าน


PublicKey.GetECDiffieHellmanPublicKey Method

Definition

Gets the ECDiffieHellman public key, or null if the key is not an ECDiffieHellman key.

C#
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public System.Security.Cryptography.ECDiffieHellman? GetECDiffieHellmanPublicKey();
C#
public System.Security.Cryptography.ECDiffieHellman? GetECDiffieHellmanPublicKey();

Returns

The public key, or null if the key is not an ECDiffieHellman key.

Attributes

Exceptions

The key contents are corrupt or could not be read successfully.

Applies to

ผลิตภัณฑ์ เวอร์ชัน
.NET 6, 7, 8, 9, 10