Visual Studio Code – Want to read the HTML markup of a webpage. What am I doing wrong here?
namespace WebReader { public partial class frm_Main : Form { public frm_Main() { InitializeComponent(); } private void frm_Main_Load(object sender, EventArgs e) { using var clt= new HttpClient(); var res = clt.GetAsync("https://daera.net/dmoon/testfile.txt"); while (true) { if (res.IsCompletedSuccessfully) { var msg =…