I know that there are a small amount of similar questions but I have get a problem with the found suggestions.
I tried this:
Image tmpimg = null;
HttpWebRequest _httpWebRequest = (HttpWebRequest)HttpWebRequest.Create(url);
HttpWebResponse _httpWebReponse = (HttpWebResponse)httpWebRequest.GetResponse();
Stream _stream = httpWebReponse.GetResponseStream();
return Image.FromStream(_stream);
But on the last line when I type in Image. FromStream can´t be found. What can I do?
Donna Klinton
21-Oct-2013I've tried this code to download image from url:
Anonymous User
05-Oct-2013You should be use using System.Drawing;