MLKemCng.GetKey Metod

Definition

Hämtar en ny CngKey som representerar nyckeln som används av den aktuella instansen.

public:
 System::Security::Cryptography::CngKey ^ GetKey();
public System.Security.Cryptography.CngKey GetKey();
member this.GetKey : unit -> System.Security.Cryptography.CngKey
Public Function GetKey () As CngKey

Returer

Undantag

Den här instansen har tagits bort.

Kommentarer

Det här CngKey objektet är inte detsamma som det som skickades till MLKemCng(CngKey), om konstruktorn användes. Den pekar dock på samma CNG-nyckel.

Gäller för