Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6039827
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T06:25:35+00:00 2026-05-23T06:25:35+00:00

Hello I want to calculate the throughput through C# using HttpWebRequest . I thought

  • 0

Hello I want to calculate the throughput through C# using HttpWebRequest.
I thought of requesting a big file (500KB) while running a System.Diagnostics.Stopwatch.

Then I could calculate the KB/s rate. I have 2 problems at this point:
1. How accurate is this going to be? Can I rely on it or should I just use another method?

2. How can I host the file on a URL I can hard-code without worrying about server-side problems? Could I somehow use a file with such a size already present preferably on googles or microsofts page?

Thanks in advance,
Alex

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T06:25:35+00:00Added an answer on May 23, 2026 at 6:25 am

    It’s really not something you should rely on:

    • Your user’s bandwidth is going to fluctuate depending on the time of day, how busy their ISP is, what other programs they have open using the connection…
    • As well as that, if you’re doing this based on a file hosted on a server, the result you get will depend on how busy that server is.
    • If one of your users has a limit on how much data they can download, they might not thank you for making them download an extra file that they don’t need.

    You’d be best asking your user to pick their connection type from a list (e.g. “Modem – 56kbps”, “DSL – < 2Mbps”), and use that to estimate how much bandwidth you’ll have available.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

hello i want to make system website like yahoo messenger using PHP. here the
I want to display Hello World with calibri.ttf using only AC3. How would I
I want to compile a simple hello-world-style program using the Windows command line. cl
Hello i have the function Walk1d which then i want to calculate the cumsum.
Hello Assume I have the set of numbers I want a quick to calculate
Hello I want to convert a PDF file to text file. I am converting
Hello I want to Compare two webpages using python script. how can i achieve
Hello I want to redirect all the requests to url example.com/rock/apps to example.com/rock/apps/webroot using
This is a test file: xxx hello hello others I want to use sed:
Hello I am new to android. I want to calculate amount in my application.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.