Skip to content
Fetching latest commit…
Cannot retrieve the latest commit at this time.
..
Failed to load latest commit information.
AirPcap
LibPcap
WinPcap
docs/Api
.gitignore
ARP.cs
App.ico
AssemblyInfo.cs
CaptureDeviceList.cs
CaptureEventArgs.cs
CaptureMode.cs
CaptureStoppedEventHandler.cs
CaptureStoppedEventStatus.cs
DeviceMode.cs
DeviceNotReadyException.cs
ICaptureDevice.cs
ICaptureStatistics.cs
InvalidOperationDuringBackgroundCaptureException.cs
LivePcapDevice.cs
LivePcapDeviceList.cs
NotSupportedOnOfflineDeviceException.cs
OfflineCaptureDevice.cs
OfflinePcapDevice.cs
PacketArrivalEventHandler.cs
Pcap.cs
PcapAddress.cs
PcapDevice.cs
PcapDeviceCaptureLoop.cs
PcapException.cs
PcapHeader.cs
PcapInterface.cs
PcapStatistics.cs
PcapUnmanagedStructures.cs
Readme.Mono
SafeNativeMethods.cs
SendQueue.cs
SendQueueTransmitModes.cs
SharpPcap.csproj
SharpPcap.csproj.user
SharpPcap.dll.config
Sockaddr.cs
StatisticsException.cs
StatisticsModeEventArgs.cs
StatisticsModeEventHandler.cs
StatisticsModePacket.cs
Version.cs
WinPcapRequiredException.cs

Readme.Mono

To use SharpPcap on Mono on Linux or Mac

NOTE: Users of Mono on Windows don't need to be concerned about dll mapping as wpcap.dll is used on
      Windows, even if under the Mono runtime instead of the Microsoft one.


- Build the solution with Monodevelop or get the precompiled assembly.

- Place the assembly, SharpPcap.dll, and the dll map file, SharpPcap.dll.config, in the same directory.
  * This is the extra step required under non-Windows platforms. It is necessary because the assembly
    is currently being built assuming the pcap library name is wpcap.dll as it is under Windows.

- Make sure you have libpcap installed.

- Add the assembly to your project like any other assembly and enjoy.
Something went wrong with that request. Please try again.