DSACng.Key Property
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 the key that will be used by the DSACng object for any cryptographic operation that it performs.
public:
property System::Security::Cryptography::CngKey ^ Key { System::Security::Cryptography::CngKey ^ get(); };
public System.Security.Cryptography.CngKey Key { get; }
member this.Key : System.Security.Cryptography.CngKey
Public ReadOnly Property Key As CngKey
Property Value
The key used by the DSACng object to perform cryptographic operations.
Remarks
The CngKey object is disposed if the key is reset, for instance by changing the CngKey.KeySize property, by using the DSACng.ImportParameters method to create a new key, or by disposing the parent DSACng object. Therefore, you should ensure that the key object is no longer used in these cases.
This CngKey object is not the same as the CngKey object passed to the DSACng constructor, if that constructor was used. However, it will point to the same CNG key.
Applies to
Povratne informacije
https://aka.ms/ContentUserFeedback.
Stiže uskoro: Tijekom 2024. postupno ćemo ukinuti servis Problemi sa servisom GitHub kao mehanizam za povratne informacije za sadržaj i zamijeniti ga novim sustavom za povratne informacije. Dodatne informacije potražite u članku:Pošaljite i pogledajte povratne informacije za