Thursday, July 17, 2014

GeckoFX DocumentText similar to Webbrowser Control Alternative (C#)

In this post GeckoFX DocumentText similar to Webbrowser, I presented a solution on how to retrieve the page source of a website. However, another solution was provided by a .NET guru using TextContent property:
Code:
this.Document.GetElementsByTagName("html")[0].TextContent;

Cheers!

0 comments:

Post a Comment