C# getResponseStream()
- by user577906
This is my code for downloading html to parse:
HttpWebResponse response = (HttpWebResponse)req.GetResponse();
var obj = response.GetResponseStream();
StreamReader reader = new StreamReader(obj);
tmp = reader.ReadToEnd();
(tmp is a string) and when writing it to a text file to look through, I'm noticing that responseStream is stripping out the very text that I'm actually looking to parse. Is there any other way to download raw HTML for future parsing or am I simply out of luck?