HttpWebRequest & HttpWebResponse
I'm trying to get files off the net using the HttpWebRequest and HttpWebResponse classes, I can get text based files fine, but when I use the same code for other file types the data seems to dissapear. I'm using the code below, any suggestions?
StreamReader stream = new StreamReader(response.GetResponseStream());
data += stream.ReadToEnd();