Registry.GetValue always return null

后端 未结 6 1188
刺人心
刺人心 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:05

    look at the security permissions on the registry key with regedt32.exe; check if you are running as admin and have UAC turned off. According to the opensubkey documentation it needs to be opened first before accessing any keys; http://msdn.microsoft.com/en-us/library/z9f66s0a.aspx

提交回复
热议问题