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 9086983
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T21:36:47+00:00 2026-06-16T21:36:47+00:00

I am using WebClient.OpenReadAsync method to download data from a web server on Windows

  • 0

I am using WebClient.OpenReadAsync method to download data from a web server on Windows Phone 7. At some point, OpenReadCompleted event is raised and I am given a stream that I can use to read the data.

Can I assume that the data is already downloaded when this happens? I.e. reading the stream to end will be a local operation and will not involve any more network access? Or will reading the stream actually trigger downloading the data?

If the data is already downloaded, where is it stored? What if the data is massive and won’t fit anywhere, and I only want to read a small part of it?

I cannot find any information about it in the documentation.

  • 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-06-16T21:36:48+00:00Added an answer on June 16, 2026 at 9:36 pm

    Can I assume that the data is already downloaded when this happens?

    No, you can’t assume that. This event is raised when an asynchronous operation to open a stream containing a resource completes. Once you start reading the stream, this stream will be read from the network socket resulting in a network I/O operation.

    If the data is already downloaded, where is it stored?

    Nowhere, no data is ever downloaded at the moment this event is raised. So if the data returned by the server is huge, it’s up to you to read it in chunks in memory and write it on some other Stream (like a file or database or something).

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

Sidebar

Related Questions

I'm using WebClient in a WP7 app to download some data from a server
I am using the WebClient.DownloadString() method to download some data. I am using the
I'm using WebClient object in to poll some data from server. When DownloadStringCompleted performed
I'm using WebClient to download some text from a web-page, like this: WebClient wc
I am using the WebClient class to post some data to a web form.
I'm parsing data from an xml file using WebClient. In DownloadStringCompleted method I have
I am using Windows Phone to download a file with a WebClient. The DownloadProgressChanged
I am using the code below to download multiple attachments from a TFS server:
I'm downloading (from server to client) a file using a WebClient object: WebClient wc
i am using Webclient to upload data using Async call to a server, WebClient

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.