Method ReadValue
ReadValue(string, string, RegistryHive)
Reads value from Windows registry.
public static object? ReadValue(string keyPath, string valueName, RegistryHive hive = RegistryHive.LocalMachine)
Parameters
keyPathstringPath to value.
valueNamestringName of the value.
hiveRegistryHiveRegistryHive value which specifies base path.