DataProtectionPermissionAttribute
Allows security actions for DataProtectionPermission to be applied to code using declarative security. This class cannot be inherited.
Gets or sets the data protection permissions.
Gets or sets a value indicating whether data can be encrypted using the ProtectedData class.
Gets or sets a value indicating whether memory can be encrypted using the ProtectedMemory class.
Gets or sets a value indicating whether data can be unencrypted using the ProtectedData class.
Gets or sets a value indicating whether memory can be unencrypted using the ProtectedMemory class.
Initializes a new instance of the DataProtectionPermissionAttribute class with the specified SecurityAction.