我要寻找一种方式来嗅探网络数据包和连接code他们用C#(总结:改变网络流量)。
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".
是否有.NET或Windows API的库或软件?
我不认为这是可能的默认。但也有很多的第三方库,使您能够做到这一点。看看
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 - 数据包捕获用于.NET Framework 数据包捕获和Analayzer Pcap.Net SharpPcap - A Packet Capture Framework for .NET Packet Capture and Analayzer Pcap.Net