- Only
PcapDotNet.Packetsis migrated to .net 7.0. This library is very helpful to parse/construct network packets. To see the usage refer to here https://github.com/PcapDotNet/Pcap.Net/wiki/Pcap.Net-Tutorial-Sending-Packets - You need to build
PcapDotNet.Packetsin your end. UdpDatagramandUdpDatagramconstructors are made public, use them at your own risk.- Other projects are migrated to .net v4.8 but build fails.
.NET wrapper for WinPcap written in C++/CLI and C#, which features almost all WinPcap features and includes a packet interpretation framework.
- See the Pcap.Net wiki for guides on using and developing Pcap.Net.
- Use the Pcap.Net Q&A Group to ask questions.
Including:
- Getting the list of Live Devices on the local host.
- Reading packets from Live Devices (Network Devices) and Offline Devices (Files) using the different WinPcap methods.
- Receiving statistics on the entire capture.
- Receiving statistics of packets instead of the full packets.
- Using different sampling methods.
- Applying Berkley Packet Filters.
- Sending packets to Live Devices directly or using WinPcap's send queues.
- Dumping packets to Pcap files.
- Using Enumerables to receive packets (and LINQ).
Not including:
- AirPcap features.
- Remote Pcap features.
- Ethernet + VLAN tagging (802.1Q)
- ARP
- IPv4
- IPv6
- GRE
- ICMP
- IGMP
- UDP
- TCP
- DNS
- HTTP
