DataProtectionPermissionAttribute.UnprotectMemory Property

 

Gets or sets a value indicating whether memory can be unencrypted using the ProtectedMemory class.

Namespace:   System.Security.Permissions
Assembly:  System.Security (in System.Security.dll)

public bool UnprotectMemory { get; set; }

Property Value

Type: System.Boolean

true if memory can be unencrypted; otherwise, false.

If this value is false, a SecurityException occurs when the ProtectedMemory.Unprotect method is called.

.NET Framework
Available since 2.0
Return to top
Show: