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