delphi,webbrowser&idhttp怎么自动贞测IE的代理设定

2025-05-15 06:48:34
推荐回答(1个)
回答1:

读取注册表键值
HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ProxyEnable
检测是否使用代理 0 or 1

读取注册表键值
HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ProxyServer
读取代理地址和端口
数据格式: http=127.0.0.1:8888;https=127.0.0.1:8888;

设置的话就不用我说了吧,直接设置属性就可以了