Thursday, January 19, 2012

Reading 64-bit registry

Prior to .Net 4.0, there were some problems figuring out how to read the 64-bit Registry vs. the 32-bit Registry.

Fortunately, .Net 4.0 has now added support for reading the 64-bit Registry via the following methods:
RegistryView.Registry64
RegistryView.Registry32


You can find a code sample here on how to deal with the 32-bit vs. 64-bit Registry in .Net 4.0:
http://www.rhyous.com/2011/01/24/how-read-the-64-bit-registry-from-a-32-bit-application-or-vice-versa/

No comments:

Post a Comment