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

Microsoft.Win32.Registry

public static class Registry
namespace Microsoft.Win32 { public static class Registry { public static readonly RegistryKey CurrentUser; public static readonly RegistryKey LocalMachine; public static readonly RegistryKey ClassesRoot; public static readonly RegistryKey Users; public static readonly RegistryKey PerformanceData; public static readonly RegistryKey CurrentConfig; public static object GetValue(string keyName, string valueName, object defaultValue); public static void SetValue(string keyName, string valueName, object value); public static void SetValue(string keyName, string valueName, object value, RegistryValueKind valueKind); } }