Summary
Returns the key for a given registry hive.
- Assembly
- NAnt
.Win32 .dll - Namespace
- NAnt
.Win32 .Tasks - Containing Type
- ReadRegistryTask
Syntax
protected RegistryKey GetHiveKey(RegistryHive hive)
Parameters
| Name | Type | Description |
|---|---|---|
| hive | RegistryHive | The registry hive to return the key for. |
Return Value
| Type | Description |
|---|---|
| RegistryKey | The key for a given registry hive. |
