Registry.GetValue always return null

后端 未结 6 1192
刺人心
刺人心 2020-12-08 15:26

I have the following key in my registry:

under:HKEY_LOCAL_MACHINE\\SOFTWARE\\RSA I have value object call - WebExControlManagerPath and its

6条回答
  •  一生所求
    2020-12-08 16:15

    if you are using 64 bit operating system, when you are trying to get HKEY_LOCAL_MACHINE\SOFTWARE\RSA it is actually looking for HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\RSA that is why you get null

提交回复
热议问题