Need to measure broadband speed in C#

Posted on 2007-10-10
Last Modified: 2012-06-21

I need to measure bandwidth in C# so I can make a program that run several times in the day and see variations in bandwidth. But I have no clue.

I tried downloading a file from a server, take initial time and take finish time and divide the number of bytes between the number of seconds the operation took. But I checked the results against several online meters and my results are very different and dependant on the size of the file I download/upload, so I guess this method is not right.

Can someone give some directions?

Question by:mak730
    LVL 8

    Accepted Solution

    AND here you are, it has been done as with most things on earth.
    Nothing is really new; just re-arranged.
    LVL 1

    Expert Comment

    Forced accept.

    EE Admin

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
    It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now