Home > Software design >  How to generate fake traffic in the connected network with maximum send/receive capacity of the inst
How to generate fake traffic in the connected network with maximum send/receive capacity of the inst

Time:04-29

I want to write a code in C# console application to generate fake traffic in my network and show send/receive speed of network card. I want to use maximum capacity of my network card and keep this fake maximum traffic until the application is closed.

CodePudding user response:

To measure the throughput of your network card, you could use a tool like iperf3.

It should be possible to start/stop this tool from within your C# application. By default, iperf3 runs the performance test for 10 seconds. This can be adjusted by using the -t parameter.

iperf3 is written in C .

  • Related