I’m trying to access a certain bit of the registry however it keeps returning null when i try to open it.
However i know the location is correct because i can navigate to it in reedit.
here’s my line of code for trying to access it.
Microsoft.Win32.RegistryKey RK = Microsoft.Win32.Registry.LocalMachine.OpenSubK("Software\\Microsoft\\Windows\\CurrentVersion\\Installer\\UserData", false);
any one got any ideas?
update
it looks like i am seeing a different version fo the registery, this need to be a 32bit app but it needs to be able to see the 32bit and 64bit version of the registery.
Thank you