SlhDsaCng.GetKey Metoda

Definicja

Pobiera nowy CngKey reprezentujący klucz używany przez bieżące wystąpienie.

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

Zwraca

Wyjątki

To wystąpienie zostało usunięte.

Uwagi

Ten CngKey obiekt nie jest taki sam jak przekazany do SlhDsaCng(CngKey)obiektu , jeśli ten konstruktor został użyty. Jednak będzie wskazywać ten sam klucz CNG.

Dotyczy