'How to generate fake traffic in the connected network with maximum send/receive capacity of the installed network card?

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.



Solution 1:[1]

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++.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Axel Kemper