Bandwidth Test

  • Thread starter Thread starter Scott Davies
  • Start date Start date
S

Scott Davies

Hi,

Does anyone know whether there is a way to test the download speed in a
VB.NET application. I want to be able to download a web page (which I've
managed to do), but now I want to measure how long it takes to download.
Anyone have any pointers on how I can achieve this?

Thanks

Scott
 
Not a vb.net group but oh well. Before downloading the page use
"system.Environment.TickCount" to get a starting time. Next "take the page
you know how to download" and save it to disk. Next use
"system.Environment.TickCount" to get your ending time. Take your ending
time minus your start time and divide that by the size of the file. That
should get you close but you know their is other factors in play such as
congestion, network speed, server load etc....

Bryan
 
Herfried,
Like me, that is not the question,
I am too curious if is is possible to measure the throughput from a server
to a client?
I thought you may not ask that much from VB.net for that we will keep a
longwhile C.
But my thoughts where you never know if someone answers, watch it watch it.
:-))
Cor
 
Herfried,
I did again write it with thousand corrections and forgotten words.
It had to be.
Your answer is not the qeustion.
I am also curious if it is possible to measure the througput and to know the
size of a webpage with vb.net before I download it.
The rest is bla bla bla
Cor
 
Back
Top