Измерьте скорость передачи данных через TCP, используя С# ⇐ C#
-
Гость
Измерьте скорость передачи данных через TCP, используя С#
I am sending a huge file over TCP using C#, and would like to measure the download speed. How can I capture the transfer rate every second? If I use IPv4InterfaceStatistics or a similar method, I capture the device transfer rate instead of capturing the file transfer rate. The problem with capturing device transfer rate is that it captures all data passing through the network device instead of the single file that I transfer.
How can I capture the file transfer rate?
Источник: https://stackoverflow.com/questions/464 ... ng-c-sharp
I am sending a huge file over TCP using C#, and would like to measure the download speed. How can I capture the transfer rate every second? If I use IPv4InterfaceStatistics or a similar method, I capture the device transfer rate instead of capturing the file transfer rate. The problem with capturing device transfer rate is that it captures all data passing through the network device instead of the single file that I transfer.
How can I capture the file transfer rate?
Источник: https://stackoverflow.com/questions/464 ... ng-c-sharp
Мобильная версия