代理禁用 [英] Proxy Disable

查看:86
本文介绍了代理禁用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在不对注册表进行修改的情况下禁用自动检测设置"代理设置.我知道它将对注册表进行更改,但是很好奇我是否可以调用方法或函数或调用API进行更改.

Is it possible to disable the "Automatically Detect Settings" Proxy settings without making modifications to the registry. I know it will make the change to the registry, but curious if I can invoke a method or function or call an API to make the change.

推荐答案

希望 [
Hope this[^]will give you an idea.


使用 WinHttpGetIEProxyConfigForCurrentUser [ P调用 [
Use WinHttpGetIEProxyConfigForCurrentUser [^] API to get/set the value.

For C#/VB see this P-Invoke[^]


这篇关于代理禁用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆