Extract the base key name.
The base key name.
For example, if the key name is "HKEY_LOCAL_MACHINE\Software\Test" then the base key name "HKEY_LOCAL_MACHINE" is returned.
| Exception Type | Condition |
|---|---|
| RegistryToolkitException | Thrown when the registry operation fails. |
RegistryHelper Class | ComponentSpace.RegistryToolkit Namespace