c# - OpenSubKey under HKLM\Software returning null - Stack Overflow
The problem is that I'm running 64bit and my app is compiled as 32bit. The key being read by: Microsoft.Win32.RegistryKey key = Microsoft.Win32.Registry.LocalMachine.OpenSubKey(@"SOFTWARE"); Is not HKLM\SOFTWARE but instead HKLM ......