How do I save the source code of a web site in c# using the ChromiumWebBrowser

233 Views Asked by At

I'm trying to make a program that will get the source code of a website using chromium-embedded web browser

chrome.ViewSource();
chrome.GetSourceAsync().ContinueWith(taskHtml =>
{
    var html = taskHtml.Result;
});

this will not work because I am trying to put it in a textbox, not in notepad

0

There are 0 best solutions below