Gets paths for all registry variables with the specified System.Security.Permissions.RegistryPermissionAccess.
- access
- One of the System.Security.Permissions.RegistryPermissionAccess values that represents a single type of registry variable access.
A list of the registry variables (semicolon-separated) with the specified System.Security.Permissions.RegistryPermissionAccess.
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 System.Security.Permissions.RegistryPermissionAccess, which represent single types of registry variable access. Those values are RegistryPermissionAccess.Read, RegistryPermissionAccess.Write, and RegistryPermissionAccess.Create. The values acceptable to access do not include RegistryPermissionAccess.NoAccess and RegistryPermissionAccess.AllAccess, which do not represent single types of registry variable access.