1

I'm attempting to use the pcapDotNet library to my project, however, I get an exception when launching the appliction. I'm using Visual Studio 2010, winpcap 4.1.3 and PcapDotNet 1.0.2.21772.

The exception is:

Could not load file or assembly 'PcapDotNet.Core, Version=1.0.2.21772, Culture=neutral, PublicKeyToken=4b6f3e583145a652' or one of its dependencies. An attempt was made to load a program with an incorrect format.

Sandy Chapman
  • 11,133
  • 3
  • 58
  • 67
Ahmad
  • 906
  • 11
  • 27

1 Answers1

2

I used 32 bit dll file and my problem solved.

Ahmad
  • 906
  • 11
  • 27