RegistryPermission
Controls the ability to access registry variables. This class cannot be inherited.
Initializes a new instance of the RegistryPermission class with either fully restricted or unrestricted permission as specified.
public RegistryPermission(RegistryPermissionAccess access, AccessControlActions control, string pathList)
Initializes a new instance of the RegistryPermission class with the specified access to the specified registry variables and the specified access rights to registry control information.
Initializes a new instance of the RegistryPermission class with the specified access to the specified registry variables.
Adds access for the specified registry variables to the existing state of the permission.
public void AddPathList(RegistryPermissionAccess access, AccessControlActions actions, string pathList)
Adds access for the specified registry variables to the existing state of the permission, specifying registry permission access and access control actions.
Gets paths for all registry variables with the specified RegistryPermissionAccess.
Returns a value indicating whether the current permission is unrestricted.
Sets new access for the specified registry variable names to the existing state of the permission.