DataProtectionPermissionAttribute.ProtectMemory 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 la mémoire peut être chiffrée à l’aide de la ProtectedMemory classe.
public:
property bool ProtectMemory { bool get(); void set(bool value); };
public bool ProtectMemory { get; set; }
member this.ProtectMemory : bool with get, set
Public Property ProtectMemory As Boolean
Valeur de propriété
true si la mémoire peut être chiffrée ; sinon, false.
Remarques
Si la valeur est false, a SecurityException lieu lorsque la ProtectedMemory.Protect méthode est appelée.