Monday, August 18, 2008

CodeProject: Packet Sniffing with Winpcap Functions Ported to a .NET Library.

CodeProject: Packet Sniffing with Winpcap Functions Ported to a .NET Library.
Using Winpcap functions in the .NET Framework
Download source files - 29.18 KB

Winpcap has been the de facto library in packet capture applications, but the problem is that it is only natively available for C++ and C.
This is an attempt to port some of the crucial Winpcap functions for the .NET environment. The demonstration project here is written in C#.
First of all, you need to install Winpcap from winpcap's Web site and then extract the project zip file. Be sure to reference dotnetwinpcap.dll in the project if not already so.

No comments: