Vista/2k3 C# Packet Capturing

    Date: 06/26/08 (C Sharp)    Keywords: no keywords

    I am trying to find some relatively simple C# packet capture code for capturing incoming/outgoing packets on a single host running Vista and/or Windows 2003 (though it has to work on XP as well).

    I had a very robust RawSocket implementation that did everything I needed very nicely, but Vista broke it (it now only captures incoming packets).

    I don't mind having to use WinPCap, but even so, all of the C# WinPCap wrappers I've tried have failed miserably attempting to discover NICs in Vista.

    If anyone has any information or a link to any information on this topic, I'd appreciate it a great deal.

    The final alternative would be to wrap WinPCap into C# myself, but I don't want to reinvent the wheel -- it's already been done. And I'm starting to tire of P/Invokes in this particular application.

    Any help appreciated.

    Source: http://community.livejournal.com/csharp/96174.html

« Client-side validation || Writing namespace to an XML... »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home