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