Method ReadString
ReadString(string, string, RegistryHive)
Reads string value from Windows registry.
public static string? ReadString(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.