How to set a proxy for Webbrowser Control without effecting the SYSTEM/IE proxy

前端 未结 4 617
时光取名叫无心
时光取名叫无心 2020-11-29 08:33

How can I set a proxy for a Webbrowser Control without setting a proxy for IE?

Basically I want my application to use a certain proxy however obviously I do

4条回答
  •  日久生厌
    2020-11-29 09:08

    try UrlMkSetSessionOption INTERNET_OPTION_PROXY and UrlMkSetSessionOption INTERNET_OPTION_REFRESH

    If your proxy has password authentication, you may need to implement IAuthenticate(Ex) in your WebBrowserSiteBase derived class.

提交回复
热议问题