Up to now I have been using WinPcap to open pcap files in C#:
[DllImport("wpcap.dll", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
private extern static IntPtr pcap_open_offline(string fname, byte[] errbuf);
Now I want to do something similar to open pcap-ng files so I get nano-second resolution (I got a new sniffer :-) )
Unfortunately WinPcap fails with this error: "bad dump file format"
Anyone knows how to work with pcap-ng in Windows?
Cheers, Pedro