Using Pcap.Net in your programs

Creating an application that uses Pcap.Net

To create an application that uses Pcap.Net with Microsoft Visual Studio, follow these steps:
Look at Pcap.Net Tutorial for sample programs.

Running Pcap.Net applications

To run an application that uses Pcap.Net, follow these steps:
  • Make sure the application you're using was built in Release mode and not Debug.
  • Install WinPcap 4.1.2 (available at http://www.winpcap.org).
  • Install .NET Framework 4.0 (available at Microsoft Download Center).
  • Install Microsoft Visual C++ 2010 Redistributable Package (available at Microsoft Download Center: x86 version, x64 version). If you have troubles on Windows x64 versions, try installing the x86 version of the Microsoft Visual C++ 2010 Redistributable Package.

Last edited May 13 at 5:18 AM by Brickner, version 20

Comments

Taras_Kuzmuk Apr 9 at 4:23 PM 
Hi safia_info,
To get files download pcap binaries: http://pcapdotnet.codeplex.com/downloads/get/372330
and place dlls into C:\Program Files (x86)\Common Files\microsoft shared\MSEnv\PublicAssemblies\

safia_info May 11, 2012 at 5:21 PM 
I use visuel studio 2008
I can't run the application that contain PcapDotNet.Core , I 'd trying to add a reference but I did not found the files
when can I find it?
thanks

bertoso Apr 16, 2012 at 12:23 AM 
Can i run this application on Linux? I think winpcap is Windows specific.