The goal is to read the html code of the target webpage.
First effort goes like this:
using (var client = new HttpClient())
This runs into error stating “The type or namespace name HttpClient could not be found (are you missing a reference)?”
So I modify it to:
var client = System.Net.Http();
Which gives the error stating “System.Net.Http is a namespace but is used like a type.”
I know C++ but am new to C#.
All help would be greatly appreciated.
3