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 qui indique si la mémoire peut être chiffrée à l'aide de la classe ProtectedMemory.
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, un SecurityException se produit lorsque la ProtectedMemory.Protect méthode est appelée.