Click here to Skip to main content
15,889,281 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi All,

I need to intercept (catch) a html page that is downloaded by any other application.
Any other application could be a known browser or an embedded browser in an any application.
Lets say that page URL is also known. I need to have the copy of that page in my program that I will write. Hopefully.
Please don't think that downloading the page directly with my own program is not an option. That is not what I need. Packet sniffing also looks very complicated. Any one has any suggestion where to start?

Language will be c#, off course.

Thanks in advance to all willing to help.
Posted
Comments
[no name] 12-Jun-15 14:44pm    
Almost sounds like you want to write a proxy server.
virusstorm 12-Jun-15 14:48pm    
Take a look at this open source project:
http://trotinet.sourceforge.net/

That should help to give you a starting point.
Sergey Alexandrovich Kryukov 12-Jun-15 15:17pm    
Catch where, in what application?
—SA
muharrem 13-Jun-15 3:31am    
Before (means while downloading) or after, the other application downloads the page that I am interesting, I need to read that page, lets say, in to a string variable or in a file first with my c# application. Then I will parse the html source to get some data in it.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900