locked
HtmlUtilities.ConvertToText from a link. RRS feed

  • Question

  • Windows.Data.Html.HtmlUtilities.ConvertToText("html codes");
    In c# winrt apps development, is there anyway to use this method with a website address ? This method is only working if I give the html code withing the quotes.
    Thursday, January 2, 2014 3:56 PM

Answers

  • It requires the HTML. You can use HttpClient to download the HTML from your URL and then pass it o ConvertToText.

    --Rob

    • Marked as answer by Anne Jing Friday, January 10, 2014 7:31 AM
    Thursday, January 2, 2014 4:04 PM
    Moderator