Gets paths for all registry variables with the specified RegistryPermissionAccess.
Assembly: mscorlib (in mscorlib.dll)
- Type: System.Security.Permissions::RegistryPermissionAccess
One of the RegistryPermissionAccess values that represents a single type of registry variable access.
Use this method to get the state of the current permission. You must call this method separately for each type of access.
The access parameter is limited to the values of RegistryPermissionAccess, which represent single types of registry variable access. Those values are Read, Write, and Create. The values acceptable to access do not include NoAccess and AllAccess, which do not represent single types of registry variable access.