API Reference
Class
OfflineHives
Discovers common hive file paths under a Windows directory and user profiles.
Inheritance
- Object
- OfflineHives
Methods
public static SystemHives FromWindowsRoot(String windowsRoot) #Returns:
SystemHivesConstructs typical system hive file paths from a Windows root directory.
Parameters
- windowsRoot System.String
- Windows installation directory.
Returns
Resolved SystemHives paths.
public static String GetUserHivePath(String profileDirectory) #Returns:
StringReturns the path to the NTUSER.DAT file under a user profile.
Parameters
- profileDirectory System.String
public static Boolean LoadDefault(SystemHives hives, String mountName = "OFF_DEFAULT") #Returns:
BooleanLoads the DEFAULT hive under HKLM\mountName.
Parameters
- hives ComputerX.Registry.OfflineHives.SystemHives
- mountName System.String = "OFF_DEFAULT"
public static Boolean LoadSam(SystemHives hives, String mountName = "OFF_SAM") #Returns:
BooleanLoads the SAM hive under HKLM\mountName.
Parameters
- hives ComputerX.Registry.OfflineHives.SystemHives
- mountName System.String = "OFF_SAM"
public static Boolean LoadSecurity(SystemHives hives, String mountName = "OFF_SECURITY") #Returns:
BooleanLoads the SECURITY hive under HKLM\mountName.
Parameters
- hives ComputerX.Registry.OfflineHives.SystemHives
- mountName System.String = "OFF_SECURITY"
public static Boolean LoadSoftware(SystemHives hives, String mountName = "OFF_SOFTWARE") #Returns:
BooleanLoads the SOFTWARE hive under HKLM\mountName.
Parameters
- hives ComputerX.Registry.OfflineHives.SystemHives
- mountName System.String = "OFF_SOFTWARE"
public static Boolean LoadSystem(SystemHives hives, String mountName = "OFF_SYSTEM") #Returns:
BooleanLoads the SYSTEM hive under HKLM\mountName.
Parameters
- hives ComputerX.Registry.OfflineHives.SystemHives
- mountName System.String = "OFF_SYSTEM"
public static Boolean LoadUserHive(String profileDirectory, String mountName) #Returns:
BooleanLoads a user hive (NTUSER.DAT) under HKU\mountName.
Parameters
- profileDirectory System.String
- mountName System.String
public static Boolean UnloadHklm(String mountName) #Returns:
BooleanUnloads an HKLM offline hive mounted under the given name.
Parameters
- mountName System.String
public static Boolean UnloadHku(String mountName) #Returns:
BooleanUnloads an HKU offline hive mounted under the given name.
Parameters
- mountName System.String
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object