Live Chat Icon For mobile
Live Chat Icon

How can I save images ?

Platform: ASP.NET| Category: Basic

You need a stream to read the response, WebResponse.GetResponseStream(), and a stream to write it to the hard drive. FileStream should do the trick. You’ll have to write to the filestream what you read from the response stream.

Share with

Share on twitter
Share on facebook
Share on linkedin