4
Answers

HttpWebRequest & HttpWebResponse

Administrator

Administrator

21y
13.8k
1
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();

Answers (4)