Search code examples
c#sendpackets

Sending recorded packets


is there a library or a class that would allow me to record on going packets from my computer (which is done on tools such as ETHEREAL[WIRESHARK] & WPE PRO(if you happen to be a gamer). To then resend it on a loop. I'm trying to make a service that would interact with my router on a timely basis. Thanks ;).


Solution

  • If you really want to resend packets from a .pcap file in a loop in C# you can use Pcap.Net.

    See Reading packets from a dump file in Pcap.Net tutorial to understand how to read the packets from the .pcap file and Sending Packets in Pcap.Net tutorial to understand how to send the packets.

    I hope this would help you.