Method ReadRelativeString
ReadRelativeString(string, string, RegistryHive)
Reads string value from Windows registry key specified with the relative path.
public static string? ReadRelativeString(string relativeKeyPath, string valueName, RegistryHive hive = RegistryHive.LocalMachine)
Parameters
relativeKeyPathstringRelative path to value.
valueNamestringName of the value.
hiveRegistryHiveRegistryHive value which specifies base path.