public HtmlParser(Stream htmlStream) { using (StreamReader sw = new StreamReader(htmlStream)) { htmlData = sw.ReadToEnd(); } }