小编meh*_*kit的帖子

64位注册表项未由32位应用程序更新

注册表项未在C#中提到的路径更新

string path = @"Software\Microsoft\Windows NT\CurrentVersion\Windows\"; 
RegistryKey myKey = Microsoft.Win32.Registry.LocalMachine.OpenSubKey(path, true);
myKey.SetValue("USERProcessHandleQuota", 50000, RegistryValueKind.DWord); 
myKey.Close();
Run Code Online (Sandbox Code Playgroud)

而不是在下面的路径更新给定的路径值: -

@"Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Windows\";
Run Code Online (Sandbox Code Playgroud)

我的机器是64位,我运行的应用程序是32位.

请建议如何更新,即在上述路径地址的值Software\Microsoft,而不是Software\wow6432node.

c#

2
推荐指数
1
解决办法
133
查看次数

标签 统计

c# ×1