.net: capture pcap.net vs sharppcap

interested in any comments that all of the various .net tools have that can be used to passively capture packets. In terms of winpcap, the choice seems to be between pcap.net and sharppcap. Another potential offering is Microsoft NetworkMonitor , and I am sure there are others.

I have used the ether / wire shark as a diagnostic tool occasionally for many years, but this is the limit of my knowledge. I am looking to automate the capture process and subsequent diagnostic processing. Now I aspire to pcap.net, but would like to hear from those who have used two or more of these tools and whether they will recommend one by one. My preference would be for the simplest interface / shallow learning curve. Please let me know your thoughts.

Thanks Patrick

+6
packet-sniffers packet-capture winpcap
Apr 05 '11 at 23:23
source share
2 answers

If you want to use .NET 4 or want to use older versions of Pcap.Net , this is definitely a choice. Pcap.Net is much more flexible and includes many other features and is very easy to use.

Disclosure: I am a developer at Pcap.Net.

+2
Jun 27 2018-11-11T00:
source share

Well, I ended up using sharppcap because the dll links needed for pcap.net will not load correctly in my project. Expect it to be my mistake, but the sharppcap link worked without fuss ...

+1
Apr 6 2018-11-11T00:
source share



All Articles