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

RegistryKey

public sealed class RegistryKey : IDisposable
public SafeRegistryHandle Handle { get; }

public string Name { get; }

public int SubKeyCount { get; }

public int ValueCount { get; }

public RegistryView View { get; }

public static RegistryKey OpenRemoteBaseKey(RegistryHive hKey, string machineName)

public static RegistryKey OpenRemoteBaseKey(RegistryHive hKey, string machineName, RegistryView view)

public RegistryKey CreateSubKey(string subkey)

public RegistryKey CreateSubKey(string subkey, bool writable)

public RegistryKey CreateSubKey(string subkey, bool writable, RegistryOptions options)

public void DeleteSubKey(string subkey)

public void DeleteSubKey(string subkey, bool throwOnMissingSubKey)

public void DeleteSubKeyTree(string subkey)

public void DeleteSubKeyTree(string subkey, bool throwOnMissingSubKey)

public void DeleteValue(string name)

public void DeleteValue(string name, bool throwOnMissingValue)

public void Dispose()

public void Flush()

public string[] GetSubKeyNames()

public object GetValue(string name)

public object GetValue(string name, object defaultValue)

public object GetValue(string name, object defaultValue, RegistryValueOptions options)

public RegistryValueKind GetValueKind(string name)

public string[] GetValueNames()

public RegistryKey OpenSubKey(string name, bool writable)

public RegistryKey OpenSubKey(string name, RegistryRights rights)

public RegistryKey OpenSubKey(string name)

public void SetValue(string name, object value)

public void SetValue(string name, object value, RegistryValueKind valueKind)