문제

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