开发者

programatically set proxy of IE for all users?

开发者 https://www.devze.com 2023-01-01 21:16 出处:网络
开发者_JS百科Environment: windows xp. If my ID is \"SYSTEM\", and want to programatically change the IE proxy setting for all users on the same machine, is it possible?

开发者_JS百科Environment: windows xp.

If my ID is "SYSTEM", and want to programatically change the IE proxy setting for all users on the same machine, is it possible?

Thanks, xin


Have you checked this

RegistryKey RegKey = Registry.CurrentUser.OpenSubKey("Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings", true);
RegKey.SetValue("ProxyServer", "proxy server");
RegKey.SetValue("ProxyEnable", 1);
RegKey.SetValue("ProxyOverride", "your domain", RegistryValueKind.String);
0

精彩评论

暂无评论...
验证码 换一张
取 消