开发者

programatically set proxy of IE for all users?

开发者_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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜