i'm writing C# code in visual studio2015 and im looking for packet capture library
my goal is to reject some non-allowed packets and ddos attack
I only know of one library that can do it for windows: WinDivert It also has a .net wrapper: Divert.Net. For the Divert.Net you need the 1.2.0-rc MSVC files from what I remember.