RegistryHive values are used by the RegistryKey.OpenRemoteBaseKey(RegistryHive, string) method to represent the top-level node of a requested key on a foreign (remote) machine. The node that can be opened with the OpenRemoteBaseKey method must be one of these top-level RegistryKeys. Further access to the subkeys of the identified node is available using using methods in Microsoft.Win32.RegistryKey, so long as the the user has appropriate permission.
| Member Name | Description |
|---|---|
| ClassesRoot |
Represents the HKEY_CLASSES_ROOT base key on another computer. This value can be passed to the RegistryKey.OpenRemoteBaseKey(RegistryHive, string) method, to open this node remotely. |
| CurrentConfig |
Represents the HKEY_CURRENT_CONFIG base key on another computer. This value can be passed to the RegistryKey.OpenRemoteBaseKey(RegistryHive, string) method, to open this node remotely. |
| CurrentUser |
Represents the HKEY_CURRENT_USER base key on another computer. This value can be passed to the RegistryKey.OpenRemoteBaseKey(RegistryHive, string) method, to open this node remotely. |
| DynData |
Represents the HKEY_DYN_DATA base key on another computer. This value can be passed to the RegistryKey.OpenRemoteBaseKey(RegistryHive, string) method, to open this node remotely. |
| LocalMachine |
Represents the HKEY_LOCAL_MACHINE base key on another computer. This value can be passed to the RegistryKey.OpenRemoteBaseKey(RegistryHive, string) method, to open this node remotely. |
| PerformanceData |
Represents the HKEY_PERFORMANCE_DATA base key on another computer. This value can be passed to the RegistryKey.OpenRemoteBaseKey(RegistryHive, string) method, to open this node remotely. |
| Users |
Represents the HKEY_USERS base key on another computer. This value can be passed to the RegistryKey.OpenRemoteBaseKey(RegistryHive, string) method, to open this node remotely. |