Fully managed, cross platform (Windows, Mac, Linux) .NET library for capturing packets from live and file based devices
The official SharpPcap repository.
Note that packet dissection and creation was split from SharpPcap some years ago into a separate project, Packet.Net. See the Packet.Net page for a full list of supported packet formats.
On Linux, support for libpcap
On Windows, support for:
- Npcap (formerly WinPcap) extensions, see Npcap API guide
See the Examples folder for a range of examples using SharpPcap