API Reference
Class
PolicyLoader
Provides helpers for loading policy-related registry hives.
Inheritance
- Object
- PolicyLoader
Methods
public static IDisposable MountHiveToHklm(String path, String mountPoint) #Returns:
IDisposableMounts a registry hive file under HKEY_LOCAL_MACHINE.
Parameters
- path System.String
- mountPoint System.String
public static IDisposable MountNtUserDat(String path, String mountPoint) #Returns:
IDisposableMounts an NTUSER.DAT file under HKEY_USERS.
Parameters
- path System.String
- Path to the NTUSER.DAT file.
- mountPoint System.String
- Name for the mounted hive under HKEY_USERS.
Returns
An IDisposable that unmounts the hive when disposed.