Does anyone (please) know how to do this? I thought that there would be an easy way to achieve this but can't find anything about saving the contents of WebBrowser HTML.
You might try something like this:
(Assuming C# 4 and WPF 4)
dynamic doc = webBrowser.Document; var htmlText = doc.documentElement.InnerHtml;
Works for me...
2.1m questions
2.1m answers
60 comments
57.0k users