CngKey.SetProperty(CngProperty) 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.
Sets a named property on the key.
public:
void SetProperty(System::Security::Cryptography::CngProperty property);
public void SetProperty (System.Security.Cryptography.CngProperty property);
[System.Security.SecurityCritical]
public void SetProperty (System.Security.Cryptography.CngProperty property);
member this.SetProperty : System.Security.Cryptography.CngProperty -> unit
[<System.Security.SecurityCritical>]
member this.SetProperty : System.Security.Cryptography.CngProperty -> unit
Public Sub SetProperty (property As CngProperty)
Parameters
- property
- CngProperty
The key property to set.
- Attributes
Remarks
This method enables you to add a new custom property to an existing key by using a CngProperty object. The options set on the CngProperty object must exactly match the options in the GetProperty call. Otherwise, the property will not be found.
Applies to
Surađujte s nama na GitHubu
Izvor za ovaj sadržaj možete pronaći na GitHubu, gdje možete stvarati i pregledavati probleme i zahtjeve za povlačenjem. Dodatne informacije potražite u našem vodiču za suradnike.