Search code examples
c#asp.netbandwidth

how to display speed of internet connection in web application?


I have a asp.net web application that uses C#. It logs in on a remote machine and download files from the server. I wish to display bandwidth available during the connection or the speed of connection.

What could be the best possible way if I m not allowed to use any external library or APIs? How can I implemet it using Javascript?

Thanks in advance. :)


Solution

  • Have a look at the following page:

    Determining available bandwidth

    It suggests there isnt really an easy way of doing it.

    This one has some ideas of how to do it though:

    Detecting network connection speed and bandwidth usage in C#

    Hope they help.