×

# windows 设置系统代理

hqy hqy 发表于2026-04-08 16:55:14 浏览6 评论0

抢沙发发表评论

# windows 设置系统代理

PAC自动代理

C#
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet SettingsAutoConfigURL设置pac文件地址,例如 http://127.0.0.1/pac.pac

环境变量代理

C#
http代理setx http_proxy "http://127.0.0.1" -msetx https_proxy "http://127.0.0.1" -msocks5代理setx http_proxy "socks5h://127.0.0.1:1080" -msetx https_proxy "socks5h://127.0.0.1:1080" -m取消代理setx http_proxy "" -msetx https_proxy "" -m代理验证setx http_proxy_user "username" -msetx http_proxy_pass "password" -msetx https_proxy_user "username" -msetx https_proxy_pass "password" -m


打赏

本文链接:https://www.kinber.cn/post/6402.html 转载需授权!

分享到:


推荐本站淘宝优惠价购买喜欢的宝贝:

image.png

 您阅读本篇文章共花了: 

群贤毕至

访客