I'm working on a WinForm WebBrowser and I want to forward each request to my web proxy and receive the response from the web proxy, the web proxy will forward the response directly to user, include headers and content.
I need change the URL and postdata for each request.
About the page navigate, I have implement the method in AxWebBrowser_beforeNavigate2 , but it is no use for images, js, css etc.
And now, perhaps using Asynchronous Pluggable Protocol开发者_JAVA技巧 (APP) and override IInternetSession::RegisterNameSpace is required, but I have no experience on it.
The Development Envrionment: .Net 2.0 , VS2008
Would someone give me some sample code for it ? thanks a lot.
How about UrlMkSetSessionOption with INTERNET_OPTION_PROXY?
精彩评论