C# add key to registry to LocalMachine fails

前端 未结 1 703
[愿得一人]
[愿得一人] 2020-12-19 21:26

I\'m trying to add a key to LocalMachine in registry. I\'m using this code:

    System.Diagnostics.Debugger.Launch();
    RegistryKey key = Regi         


        
相关标签:
1条回答
  • 2020-12-19 21:40

    Got it. Actually it was added, but with my x64 system I couldn't see it in simple C:\Windows\regedit.exe. Go to C:\Windows\SysWOW64\regedit.exe to see it in x64

    0 讨论(0)
提交回复
热议问题