虫虫首页|资源下载|资源专辑|精品软件
登录|注册

您现在的位置是:虫虫下载站 > 资源下载 > 源码/资料 > SharpPcap c#抓包实现时时获取网卡信息

SharpPcap c#抓包实现时时获取网卡信息

资 源 简 介

SharpPcap c#抓包实现时时获取网卡信息

SharpPcap tutorial: a step by step guide to using SharpPcap

The text of this tutorial is taken directly from WinPcap's official tutorial but is modified to show the C# use of the SharpPcap library. All examples can be downloaded together with SharpPcap source code from SharpPcap 's homepage. The WinPcap library must be installed before attempting to run any of these examples, so please download and install the latest version from WinPcap's download page.

SharpPcap was written and tested using .NET v1.1 and Windows 2000/XP. I have no idea about other .NET and Windows versions. If you do try it, please report your results.

The following topics are covered in this tutorial:

  1. Obtaining the device list
  2. Obtaining advanced information about installed devices
  3. Opening an adapter and capturing packets
  4. Capturing packets without the event handler
  5. Filtering the traffic
  6. Interpreting the packets
  7. Handling offline dump files
  8. Sending Packets
  9. Gathering Statistics on the network traffic

1. Obtaining the device list

相 关 资 源

您 可 能 感 兴 趣 的