Method GetRelativeSubKeyNames
GetRelativeSubKeyNames(string, RegistryHive)
Retrieves an array of strings that contains all the subkey names specified with the relative path to the registry key.
public static string[]? GetRelativeSubKeyNames(string relativeKeyPath, RegistryHive hive = RegistryHive.LocalMachine)
Parameters
relativeKeyPath
stringRelative path to value.
hive
RegistryHiveRegistryHive value which specifies base path.
Returns
- string[]
An array of strings that contains the names of the subkeys for the current key.