Share via


RegistryTools.GetRegistrySubKeyNamesFromLocalMachineRoot Method

Definition

Get the names of all subkeys under a key in the HKLM root Registry.

public string[] GetRegistrySubKeyNamesFromLocalMachineRoot (string regKeyPath, bool use64Bit = false);
abstract member GetRegistrySubKeyNamesFromLocalMachineRoot : string * bool -> string[]
override this.GetRegistrySubKeyNamesFromLocalMachineRoot : string * bool -> string[]
Public Function GetRegistrySubKeyNamesFromLocalMachineRoot (regKeyPath As String, Optional use64Bit As Boolean = false) As String()

Parameters

regKeyPath
String

Path to the registry key in the format key\subkey\subsubkey

use64Bit
Boolean

if true, it uses the 64 bit registry, otherwise 32 bit is used

Returns

String[]

Array of value names or empty

Implements

Applies to