<PackageReference Include="Microsoft.Win32.Registry" Version="5.0.0-preview.5.20278.1" />

RegistryRights

public enum RegistryRights
Specifies the access control rights that can be applied to registry objects.
namespace System.Security.AccessControl { [Flags] public enum RegistryRights { QueryValues = 1, SetValue = 2, CreateSubKey = 4, EnumerateSubKeys = 8, Notify = 16, CreateLink = 32, Delete = 65536, ReadPermissions = 131072, WriteKey = 131078, ExecuteKey = 131097, ReadKey = 131097, ChangePermissions = 262144, TakeOwnership = 524288, FullControl = 983103 } }