API Reference
Class
OfflineRegistryMount
Lightweight wrapper around reg.exe LOAD/UNLOAD for offline hive mounting. Windows-only at runtime.
Inheritance
- Object
- OfflineRegistryMount
Methods
public static Boolean Load(String root, String mountName, String hiveFilePath) #Returns:
BooleanLoads an offline registry hive under the specified root (HKLM/HKU) and mount name.
Parameters
- root System.String
- Root hive: HKLM or HKU.
- mountName System.String
- Mount key name to create under the root.
- hiveFilePath System.String
- Full path to the hive file.
Returns
True when the hive was loaded successfully.
public static Boolean Unload(String root, String mountName) #Returns:
BooleanUnloads a previously mounted offline registry hive.
Parameters
- root System.String
- Root hive: HKLM or HKU.
- mountName System.String
- Mount key name to remove.
Returns
True when the hive was unloaded successfully.
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object