问题
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:
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.
回答2:
Take a look at SharpPcap (C# wrapper and packet parser or WinPcap).
Both WinPcap and SharpPcap are developed under licences that allow redistribution.
来源:https://stackoverflow.com/questions/742024/which-net-library-wrapper-do-you-recommend-for-sniffing-packets