Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get the users internet connection speed in a web application?

Tags:

c#

.net

asp.net

I have an asp.net web application, in that I want to add a page which will do so, the page will have a button, when the end user clicks that button it will calculate the end users internet connection speed (both upload and download) and display it on the same web page.

Please help me out!

like image 738
Bibhu Avatar asked Dec 05 '25 13:12

Bibhu


1 Answers

To do this you'd need some javascript which would download/upload a file of known-size and time it. Then the value of the speed would be submitted to your server, or simply displayed to the user.

This will only measure their connection to your server however.

Your best bet would be to find an app such as @SixHouse suggestion which you can then integrate into your site.

like image 167
m.edmondson Avatar answered Dec 07 '25 04:12

m.edmondson