DataProtectionPermissionAttribute.ProtectData Propriété
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient ou définit une valeur indiquant si les données peuvent être chiffrées à l’aide de la ProtectedData classe.
public:
property bool ProtectData { bool get(); void set(bool value); };
public bool ProtectData { get; set; }
member this.ProtectData : bool with get, set
Public Property ProtectData As Boolean
Valeur de propriété
true si les données peuvent être chiffrées ; sinon, false.
Remarques
Si la valeur est false, a SecurityException lieu lorsque la ProtectedData.Protect méthode est appelée.