What I want to do is measure broadband speed using c#.
To do this, I use NetworkInterface.BytesReceived
and BytesSent
to get the current amount of bytes sent and received from my network adapter and get the DateTime
.
Then I download/upload a file and get the BytesReceived
/BytesSent
and DateTime
again. The download/upload speed is just the the difference between the BytesReceived
/BytesSent
divided by the time difference.
Now I am wondering if there is a public FTP server where I can download and upload files.