Reputation: 75
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?
Upvotes: 0
Views: 830
Reputation: 241838
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.
Upvotes: 2