Ondrej,
You really aren't able to do this with the webbrowser (the managed
wrapper or the unmanaged version). The hooks simply are not in there to
intercept the HTTP request that the web browser makes.
You are better off using the HttpWebRequest/HttpWebResponse classes to
perform the request/get the response, and then feeding the response into the
web browser control for rendering.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Ondrej Dobias" <On**********@discussions.microsoft.com> wrote in message
news:C2**********************************@microsof t.com...
Hello,
I would like to intercept WebBrowser's HTTP requests in order to be able
to
supply custom login to the proxy server, as well as choose the right
certificate for several specific sites. I'm trying to use the stock
WebBrowser control in .NET v2.0 and have no idea how to extend it with
additional interfaces that are supported by the underlying AxWebBrowser
control.
Many thanks for any help concerning the suitable interfaces to handle
this -
and how to implement them!