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.

有帮助吗?

解决方案

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top