Which .NET library / wrapper do you recommend for sniffing packets?

梦想与她 提交于 2019-12-23 01:29:17

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!