Bagikan melalui


PublicKey.GetECDiffieHellmanPublicKey Metode

Definisi

ECDiffieHellman Mendapatkan kunci umum, atau null jika kuncinya bukan kunci ECDiffieHellman.

public:
 System::Security::Cryptography::ECDiffieHellman ^ GetECDiffieHellmanPublicKey();
public System.Security.Cryptography.ECDiffieHellman? GetECDiffieHellmanPublicKey ();
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public System.Security.Cryptography.ECDiffieHellman? GetECDiffieHellmanPublicKey ();
member this.GetECDiffieHellmanPublicKey : unit -> System.Security.Cryptography.ECDiffieHellman
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
member this.GetECDiffieHellmanPublicKey : unit -> System.Security.Cryptography.ECDiffieHellman
Public Function GetECDiffieHellmanPublicKey () As ECDiffieHellman

Mengembalikan

Kunci umum, atau null jika kuncinya bukan kunci ECDiffieHellman.

Atribut

Pengecualian

Isi kunci rusak atau tidak berhasil dibaca.

Berlaku untuk