Unable to locate FromStream in Image class
c#, http-request, httpresponse
Solution
You probably need `using System.Drawing;`.
Problem
I have the following code: ``` Image tmpimg = null; HttpWebRequest httpWebRequest = (HttpWebRequest)HttpWebRequest.Create(url); HttpWebResponse httpWebReponse = (HttpWebResponse)httpWebRequest.GetResponse(); Stream stream = httpWebReponse.GetResponseStream(); return Image.FromStream(stream); ``` On the last line when I type in `Image.`, `FromStream` isn't in the list. What can I do?