How to retrieve a webpage and diplay the html to the console with C# ?
Use the System.Net.WebClient
class.
System.Console.WriteLine(new System.Net.WebClient().DownloadString(url));
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With