I want to know which application installed this wpcap.dll. I can see it in some PCs in location c:\Windows\System32\Npcap and in others in c:\Windows\System32.
When I run my code (which has DllImport("wpcap.dll") ) in the first PC, this exception is thrown whereas it is not thrown in second PC. 
Also, when I manually add the dll to first PC also, the same exception is thrown. Can someone help me with this?
I want to know which application installed this wpcap.dll
Google Said it is WinPcap
https://ru.wikipedia.org/wiki/Pcap
You can try this:
run cmd and execute command:
regsvr32 wpcap.dll
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With