Reading registry value from HKEY_LOCAL_MACHINE

  • Thread starter Thread starter Jeff0803
  • Start date Start date
J

Jeff0803

Guest
My code read from HKEY_LOCAL_MACHINE\\SOFTWARE\\MyApp.

I created keys & values in HKEY_LOCAL_MACHINE\\SOFTWARE\\MyApp using RegEdit.exe.

However wrong value is read when I read using LocalKey.GetValue("ID");

In case of HKEY_CURRENT_USER, I can read correctly but not in HKEY_LOCAL_MACHINE.

How could I read correctly?

Continue reading...
 
Back
Top