Name
RegistryPermissionAccess
Synopsis
public enum RegistryPermissionAccess { NoAccess = 0x00000000,Read = 0x00000001,Write = 0x00000002,Create = 0x00000004, AllAccess = 0x00000007 }
This enumeration is used to configure the type of registry access
represented by a RegistryPermission
object. The
Create
, Read
, and
Write
values represent the ability to create,
read, and write registry values, respectively. Each value is
independent and does not include the permissions of the others. For
example, Write
does not encompass the permissions
of the Read
value. The
AllAccess
value represents the combination of
Read
, Write
, and
Create
. If other combinations are needed, the
values can be combined using a logical OR operation.
Hierarchy
System.Object
→
System.ValueType
→
System.Enum(System.IComparable,
System.IFormattable
, System.IConvertible)
→
RegistryPermissionAccess
Passed To
RegistryPermission.{AddPathList( )
,
GetPathList( )
, RegistryPermission(
)
, SetPathList( )}
Get Programming .NET Security now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.