Reputation: 394
In VB.Net, how do I make a program to tap into the HTTP requests made by external web browsers?
I don't want to edit or stop the headers, only 'read' them, i.e., access its contents.
I'm speaking of something like Fiddler2, but I only want the 'reading' part.
I also want to read the user-agent.
How do I begin?
Upvotes: 0
Views: 595
Reputation: 3414
What you describe is either a proxy server or a network sniffer.
I can't vouch for this proxy server, but a search returned http://www.vbdotnetheaven.com/uploadfile/psingh/webserver04162005083342am/webserver.aspx.
For sniffing, take a look at Winpcap, such as http://www.codeproject.com/Articles/4217/Packet-Sniffing-with-Winpcap-Functions-Ported-to-a.
Upvotes: 2