MLDsaCng.GetKey Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a new CngKey representing the key used by the current instance.
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
Returns
Exceptions
This instance has been disposed.
Remarks
This CngKey object is not the same as the one passed to MLDsaCng(CngKey), if that constructor was used. However, it will point to the same CNG key.