RegistryPermissionAccess.Create, RegistryPermissionAccess.Read, and RegistryPermissionAccess.Write access to registry variables. RegistryPermissionAccess.AllAccess represents multiple System.Security.Permissions.RegistryPermissionAccess values and causes an ArgumentException when used as the access parameter for the RegistryPermission.GetPathList(RegistryPermissionAccess) method, which expects a single value.