Question

I just found HttpListener Class , I have read the API on MSDN but I still don't get something: can HTTPListener being used to sniff the incomming/outgoing Requests*?

I mean to sniff all the HTTP & maybe HTTPS packets on my network card , all I would like to retrieve is a simply URL of visited sites.

Was it helpful?

Solution

The short answer is: No.

The long answer is: The HTTPListener-class is used to create a very basic webserver on which you can implement your own methods and services. You might be able to use it to write a proxy and route your http requests through it though but I'm pretty sure that wasn't the main intention of it.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top