TestimoX

API Reference

Class

OfflineHives

Namespace ComputerX.Registry
Assembly ComputerX
Modifiers static

Discovers common hive file paths under a Windows directory and user profiles.

Inheritance

  • Object
  • OfflineHives

Methods

public static SystemHives FromWindowsRoot(String windowsRoot) #
Returns: SystemHives

Constructs typical system hive file paths from a Windows root directory.

Parameters

windowsRoot System.String requiredposition: 0
Windows installation directory.

Returns

Resolved SystemHives paths.

public static String GetUserHivePath(String profileDirectory) #
Returns: String

Returns the path to the NTUSER.DAT file under a user profile.

Parameters

profileDirectory System.String requiredposition: 0
public static Boolean LoadDefault(SystemHives hives, String mountName = "OFF_DEFAULT") #
Returns: Boolean

Loads the DEFAULT hive under HKLM\mountName.

Parameters

hives ComputerX.Registry.OfflineHives.SystemHives requiredposition: 0
mountName System.String = "OFF_DEFAULT" optionalposition: 1
public static Boolean LoadSam(SystemHives hives, String mountName = "OFF_SAM") #
Returns: Boolean

Loads the SAM hive under HKLM\mountName.

Parameters

hives ComputerX.Registry.OfflineHives.SystemHives requiredposition: 0
mountName System.String = "OFF_SAM" optionalposition: 1
public static Boolean LoadSecurity(SystemHives hives, String mountName = "OFF_SECURITY") #
Returns: Boolean

Loads the SECURITY hive under HKLM\mountName.

Parameters

hives ComputerX.Registry.OfflineHives.SystemHives requiredposition: 0
mountName System.String = "OFF_SECURITY" optionalposition: 1
public static Boolean LoadSoftware(SystemHives hives, String mountName = "OFF_SOFTWARE") #
Returns: Boolean

Loads the SOFTWARE hive under HKLM\mountName.

Parameters

hives ComputerX.Registry.OfflineHives.SystemHives requiredposition: 0
mountName System.String = "OFF_SOFTWARE" optionalposition: 1
public static Boolean LoadSystem(SystemHives hives, String mountName = "OFF_SYSTEM") #
Returns: Boolean

Loads the SYSTEM hive under HKLM\mountName.

Parameters

hives ComputerX.Registry.OfflineHives.SystemHives requiredposition: 0
mountName System.String = "OFF_SYSTEM" optionalposition: 1
public static Boolean LoadUserHive(String profileDirectory, String mountName) #
Returns: Boolean

Loads a user hive (NTUSER.DAT) under HKU\mountName.

Parameters

profileDirectory System.String requiredposition: 0
mountName System.String requiredposition: 1
public static Boolean UnloadHklm(String mountName) #
Returns: Boolean

Unloads an HKLM offline hive mounted under the given name.

Parameters

mountName System.String requiredposition: 0
public static Boolean UnloadHku(String mountName) #
Returns: Boolean

Unloads an HKU offline hive mounted under the given name.

Parameters

mountName System.String requiredposition: 0