This project is read-only.

Registry Header

Feb 8, 2013 at 5:37 PM
Is there a way to easily access the Path value from DiscUtils.Registry.HiveHeader?

It usually contains the path of where the registry file came from, and I cannot find this information anywhere else.
Feb 8, 2013 at 9:17 PM
I don't think you can. It looks like an HiveHeader object is only created from an array of bytes, so it doesn't have a path.

The HiveHeader is probably made from a RegistryHive object and the RegistryHive object doesn't expose (or even save) its path origin.

I guess you'd either have to add that functionality to the source or keep track of the paths in your application.