Is there a low level Network library to sniff and change network traffic? [closed]

五迷三道 提交于 2019-12-04 13:51:27

问题


I am looking for a way to sniff network packets and encode them with C# (in summary: alter network traffic).

I don't know how to explain my request but I need something like "Keyboard Hook".

Is there any library or software in .net or Windows API?


回答1:


I don't think this is possible by default. But there are plenty of third party libraries that enable you to do that. Take a look at

  • SharpPcap - A Packet Capture Framework for .NET
  • Packet Capture and Analayzer
  • Pcap.Net


来源:https://stackoverflow.com/questions/15614123/is-there-a-low-level-network-library-to-sniff-and-change-network-traffic

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