dotpcap / sharppcap

Official repository - Fully managed, cross platform (Windows, Mac, Linux) .NET library for capturing packets
1.28k stars 267 forks source link

Unable to load DLL 'wpcap' #477

Closed MFarfan402 closed 8 months ago

MFarfan402 commented 9 months ago

Hi!

Taking as reference previous closed issue: https://github.com/dotpcap/sharppcap/issues/447

Got into same issue. I'm not allowed to install WinPcap or Npcap. Is there a workaround that I could try?

I'm able to obtain wpcap.dll but not able to dynamically load into program. Any suggestion I can try?

kayoub5 commented 9 months ago

Npcap is a driver, you can't just copy the dll and it works.

Without context on why you are not allowed to install the drivers, it's difficult to suggest alternatives.

SharpPcap is a driver wrapper, you are asking for an eggless omelette.