开发者

.NET WebClient - Upload data and get stream

I have a situation where I want to asynchronously write a series of bytes with WebClient (in much the same way as UploadDataAsync) and get a readable response stream (in the same way as OpenReadAsync).

You seem to be 开发者_开发问答able to do the two individually, but not both of them together. Is there a way?


It's likely that UploadDataTaskAsync will do what you want. See https://stackoverflow.com/a/9736471/56778 for an example.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜