Measure data transfer rate over tcp using c#

Posted by publicENEMY on Stack Overflow See other posts from Stack Overflow or by publicENEMY
Published on 2011-01-09T20:57:00Z Indexed on 2011/01/09 21:53 UTC
Read the original article Hit count: 150

Filed under:
|
|
|

i want to measure current download speed. im sending huge file over tcp. how can i capture the transfer rate every second? if i use IPv4InterfaceStatistics or similar method, instead of capturing the file transfer rate, i capture the device transfer rate. the problem with capturing device transfer rate is that it captures all ongoing data through the network device instead of the single file that i transfer.

how can i capture the file transfer rate? im using c#.

© Stack Overflow or respective owner

Related posts about c#

Related posts about bandwidth