Alex,
You can write your own Aysnchronous Pluggable Protocol, which is what
the WebBrowser control ultimately uses:
http://msdn2.microsoft.com/en-us/lib...43(VS.85).aspx
However, I am not sure that you can replace the HTTP protocol (it might
be hardcoded into COM to not allow it to be replaced) but you can try it.
It's not easy though, as as you have to do a lot of COM interop to get
this to work, but its the only way to hook into the download stream for the
WebBrowser.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"al*******************@fernuni-hagen.de" <al*******************@gmail.com>
wrote in message
news:6b**********************************@i72g2000 hsd.googlegroups.com...
Hello,
is it possible to hook into the WebBrowser control, so that I can
influence the way the control loads data (like images, css-files, ...)
from web-servers?
I would like to decrypt resources before they are parsed.
Best regards,
Alex