SyntaxFix
Write A Post
Hire A Developer
Questions
Download url to bytes and convert bytes into stream:
using (var client = new WebClient()) { var content = client.DownloadData(url); using (var stream = new MemoryStream(content)) { ... } }