HtmlAgilityPack: Get whole HTML document as string
See the question and my original answer on StackOverflowSure, you can do like this:
HtmlDocument doc = new HtmlDocument();
// call one of the doc.LoadXXX() functions
Console.WriteLine(doc.DocumentNode.OuterHtml);
OuterHtml contains the whole html.