The easy way is to write the file to a temp folder. I can understand
the desire to not use that mechanism though.
However, in order to intercept the download stream that the webbrowser
control is using, you would have to create an implementation of IMoniker
which would handle the URL scheme and then perform the downloading that you
are looking to do.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"VeNoM00" <ve*************@gmail.comwrote in message
news:11**********************@c28g2000cwb.googlegr oups.com...
Hello, i have a WebBrowser imported form SHDocVw and i need to filter
the data before it arrives to the browser (for example i want to delete
all the <scripttag). I tried to realize a proxy server but it's hard
and i don't like this idea. I also tought of reading the file written
in the temporary folder but i don't like neither this idea.
Does anybody know another way? Maybe a way to get control on the tcp/ip
connection that the IE AX creates?
Thanks in advance