DataProtectionPermissionAttribute.ProtectMemory 속성

정의

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

속성 값

Boolean

메모리를 암호화할 수 있으면 true이고, 그렇지 않으면 false입니다.

설명

값이 false면 메서드가 SecurityException 호출되면 발생합니다 ProtectedMemory.Protect .

적용 대상