TestimoX

API Reference

Class

OfflineRegistryMount

Namespace ComputerX.Registry
Assembly ComputerX
Modifiers static

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: Boolean

Loads an offline registry hive under the specified root (HKLM/HKU) and mount name.

Parameters

root System.String requiredposition: 0
Root hive: HKLM or HKU.
mountName System.String requiredposition: 1
Mount key name to create under the root.
hiveFilePath System.String requiredposition: 2
Full path to the hive file.

Returns

True when the hive was loaded successfully.

public static Boolean Unload(String root, String mountName) #
Returns: Boolean

Unloads a previously mounted offline registry hive.

Parameters

root System.String requiredposition: 0
Root hive: HKLM or HKU.
mountName System.String requiredposition: 1
Mount key name to remove.

Returns

True when the hive was unloaded successfully.