开发者

Set a proxy individually for each WebBrowser?

I just found out how to change proxies without restarting the WebBrowser control, but that seems to set it for ALL WebBrowser controls on my form. I want to be able to set a different proxy for each control. Is this possible?

If not, is there any tricks I can do to get a开发者_如何学Pythonround this? Maybe some kind of daemon that watches a port and translates that request into a proxy request? For example:

Request on port 12345 -> Connect to url on port 80, but use proxy 1.2.3.4:8080
Request on port 12346 -> Connect to url on port 80, but use proxy 6.4.5.1:8080


In our application we resolved this launching every browser in a separate process and reparenting it. We don't reach to set a proxy for all webbrowser in the same process.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜