Tag: winpcap

Java

Open source java library for libpcap and winpcap

jNetPcap is an open-source java library. It contains: A Java wrapper for nearly all libpcap library native calls Decodes captured packets in real-time Provides a large library of network protocols (core protocols) Users can easily add their own protocol definitions using java SDK jNetPcap uses a mixture of native and java implementation for optimum packet …

C#

Obtain devices list with SharpPcap

SharpPcap is a cross-platform packet capture framework for the .NET environment, based on the famous pcap / WinPcap libraries. It provides an API for capturing, injecting, analyzing and building packets using any .NET language such as C# and VB.NET.   CaptureDeviceList cdevices = CaptureDeviceList.Instance; if (cdevices.Count >= 1) { foreach (ICaptureDevice dev in cdevices) { …