Thursday, February 16, 2006

SharpPcap - A .Net WinPcap Wrapper

SharpPcap - A packet capture framework for .NET

"SharpPcap is a packet capture framework for the .NET environment, based on the famous WinPcap component. The purpose of this library is to provide an API for capturing, injecting, analyzing and building packets using any .NET language such as C# and VB.NET.

The following list illustrates the features currently supported by SharpPcap:

  • Enumerating and showing details about physical network interface on a Windows machine.
  • Capturing low-level network packets going through a given interface.
  • Analyzing and parsing the following protocols: Ethernet, ARP, IP, TCP, UDP, ICMP, IGMP.
  • Injecting low-level network packets on a given interface.
  • Handling (reading and writing) offline packet capture files.
  • Injecting packets using Send Queues.
  • Collecting network statistics on a given network interface.

Please see the SharpPcap Tutorial for details on how to use it in your own application.  …"

Sounds cool. I’ve used WinPcap dependant apps a number of times and it’s nice to know that if I need to use it for my apps there’s a .Net wrapper for it…

See the CodeProject article, (SharpPcap - A packet capture framework for .NET) for additional details…

(via http://del.icio.us/tag/.net/ – http://del.icio.us/donm/.net/)

2 comments:

  1. You can also check out Pcap.Net. It is a WinPcap wrapper written in C++/CLI and C# and it includes a packet interpretation framework.

    ReplyDelete

NOTE: Anonymous Commenting has been turned off for a while... The comment spammers are just killing me...

ALL comments are moderated. I will review every comment before it will appear on the blog.

Your comment WILL NOT APPEAR UNTIL I approve it. This may take some hours...

I reserve, and will use, the right to not approve ANY comment for ANY reason. I will not usually, but if it's off topic, spam (or even close to spam-like), inflammatory, mean, etc, etc, well... then...

Please see my comment policy for more information if you are interested.

Thanks,
Greg

PS. I am proactively moderating comments. Your comment WILL NOT APPEAR UNTIL I approve it. This may take some hours...