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

I've written a small hello world test app in Silverlight which i want to
What I want is, I think, relatively simple: > Bin = <<Hello.world.howdy?>>. > split(Bin,
If given the route: {FeedName}/{ItemPermalink} ex: /Blog/Hello-World If the item doesn't exist, I want
I have the following string: <SEM>electric</SEM> cu <SEM>hello</SEM> rent <SEM>is<I>love</I>, <PARTITION />mind I want
hello i want to add param value to all the object in a page.
Hello i want to make something on classes i want to do a super
Hello I want to post some data from silverlight to a website. I found
Hello I want a silverlight grid layout panel. The width should be 100%. There
Hello everyone i want search data from invoices and client by today date I'm
Hello all I want to make a filter for tomcat to deflate all responces

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.