Mon 26 Mar 2007
WinPcapNet first release
Posted by ben under PcapNet
[21] Comments
WinPcapNet is a .NET wrapper for the famous WinPcap Library.
It is being developed in C++/CLI for maximum speed of execution between managed languages and WinPcap driver.
Not really evoluted for the moment, it permits the minimum required :
- retrieve the Network devices
- open - close a device
- set a capture filter
- read packets on the network
- send packets on the network
The main purpose being to propose .NET developers an easy way to use WinPcap.
Futur releases will include driver loading / unloading services on the fly, and a packet factory class.
You can download the DLL here, and a C# example showing off the use of the wrapper.
Another example to resolve the cross-threading problem.
.
/img/button_css.gif)