How to implement progress reporting for Portable HttpClient

后端 未结 2 1124
闹比i
闹比i 2020-12-01 10:21

I\'m writing a library with intentions to use it in desktop (.Net 4.0 and up), phone (WP 7.5 and up) and Windows Store (Windows 8 and up) apps.

The library has the c

2条回答
  •  青春惊慌失措
    2020-12-01 10:48

    You can specify HttpCompletionOption.ResponseHeadersRead and then get the stream and report progress while you read from the stream. See this similar question.

提交回复
热议问题