views:

142

answers:

1

As far as I understand all sniffing libraries in .NET just a wrapper around WinpCap, which is OK. If you know any other better option please write as answer.

Have you used any of them? Which one is the best according to your experience?

I'm only looking for libraries which have commercial friendly licenses, Also commercial libraries are OK as soon as they got a decent price tag

+1  A: 

Why not use Microsoft Network Monitor? It's free, supported, and has an API you can use, in addition to a set of parsers available on CodePlex.

John Saunders
Apparently redistribution is not allowed for MS Network Monitor, which doesn't work for me, but thanks for the answer.
dr. evil
@Slough: I hadn't realized that. OTOH, you might ask MS on their blog if there's a way around that for your purposed. Maybe if your installer were to prompt the user to accept the MS EULA, MS would allow you to include the binaries or their installer. Ask, and find out.
John Saunders
Thanks for the recommendation, I'll look around a little bit more. The problem is that also I didn't see any sample application using it which might be a problem and turn out to be an immature or quite complicated stuff. Played with some Winpcap stuff, they are quite straight forward.
dr. evil
John Saunders