473,402 Members | 2,046 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,402 software developers and data experts.

Bandwidth Test

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
Nov 20 '05 #1
5 7562
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

"Scott Davies" <sc******@btinternet.com> wrote in message
news:uF****************@TK2MSFTNGP12.phx.gbl...
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

Nov 20 '05 #2
"Not a vb.net group". I posted where again? Sorry ;)

"Bryan Martin" <sp**@ahwayside.com> wrote in message
news:Ob****************@tk2msftngp13.phx.gbl...
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

"Scott Davies" <sc******@btinternet.com> wrote in message
news:uF****************@TK2MSFTNGP12.phx.gbl...
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


Nov 20 '05 #3
Cor
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
Nov 20 '05 #4
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
Nov 20 '05 #5
Cor
No just the difference I hope to see it in this thread
:-)
Cor
Nov 20 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Martin Raychev | last post by:
Hi everybody, I have a need for a web app that will allow a flash client to download files at a specified speed. I am using Flash for an application of mine which downloads JPG slides to...
8
by: Dominic Martin | last post by:
Hi, I need to setup an ODBC link over our Internet connection between MS Access (local) and a MySQL server (Remote - the local PC has the MySQL ODBC driver installed). What kind of bandwidth...
9
by: Chibi | last post by:
I'm writing an application that's bandwidth intense. My available bandwidth is 1.5Mbps (cable modem) and I know I can reach around 1.4Mbps, if not more. The application I am writing right now...
0
by: Aerodyne | last post by:
Hi all, Anyone here know of some source code (in C#, but other langs are okay too) for a bandwidth test app? I need to test bandwidth speeds on my PC & would like to develop one. Ideas, tips...
3
by: vadim | last post by:
Hi, Does anybody have an idea on how to reply to a client who's asking about how much bandwidth my app will need. It's asp.net app with SQL Server backend. Is there any general rule of thumb on...
3
by: Jack Fox | last post by:
While stress-testing our ASP.NET app, we discovered a flaw in our test set-up, which also reveals a flaw in our ASP.NET configuration that we do not know how to address. We simulated too...
1
by: Richard | last post by:
Our client's web app will require (or at least recommend) that users have broadband connection. Other than the myriad of web sites that one can go to test bandwidth, are there any custom controls...
5
by: =?Utf-8?B?QW5kcmV3IEhheWVz?= | last post by:
You've all seen them. Hoards of sites (predominantly ISP's) offering to test your bandwidth to the four corners of the globe, all trying to show that they are faster and you should switch to using...
7
by: Andrew Poulos | last post by:
Is there a way where I can "guess" what relative speed the user's connection is? Currently, the client is wanting some graphical intensive content and I'd like to be able to warn users on...
1
by: =?Utf-8?B?amVjaGV2ZXJyaWE=?= | last post by:
Hello everybody. I have an application that comunicates from a remote office with the central system in the headquaters using web services and the internet and I want to know how much bandwidth my...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.