I have a question. Is it possible to intercept network packages that run from local program to a X.X.X.X network address using .Net? And then these packages receive programmatically and give the calling program? Maybe you know examples of articles that will help me write a program?
Asked
Active
Viewed 814 times
0
-
Look @ [Codeproject articale](http://www.codeproject.com/Articles/17031/A-Network-Sniffer-in-C) – AminM Jul 06 '13 at 20:10
1 Answers
2
You can use Pcap.Net for this. It is a wrapper around the WinPcap driver that is used by applications such as WireShark.
There is another library called SharpPcap which does the same thing. There's a Code Project article on this library.
I'm not sure of which one is better, but there are comparisons here and here.
AFAIK, there isn't a way to do it without a packet capture/interception driver.

Community
- 1
- 1

Matt Johnson-Pint
- 230,703
- 74
- 448
- 575