Table of Contents

Method GetSubKeyNames

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

GetSubKeyNames(string, RegistryHive)

Retrieves an array of strings that contains all the subkey names.

public static string[]? GetSubKeyNames(string keyPath, RegistryHive hive = RegistryHive.LocalMachine)

Parameters

keyPath string

Path to value.

hive RegistryHive

RegistryHive value which specifies base path.

Returns

string[]

An array of strings that contains the names of the subkeys for the current key.