CngKey.SetProperty(CngProperty) Méthode

Définition

Définit une propriété nommée sur la clé.

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)

Paramètres

property
CngProperty

Propriété de clé à définir.

Attributs

Remarques

Cette méthode vous permet d’ajouter une nouvelle propriété personnalisée à une clé existante à l’aide d’un CngProperty objet. Les options définies sur l’objet CngProperty doivent correspondre exactement aux options de l’appel GetProperty . Sinon, la propriété est introuvable.

S’applique à