try
{
string uri = "https://www.google.com/";
string responseBody = await client.GetStringAsync(uri);
Console.WriteLine(responseBody);
}
catch(Exception ex) { }
Sample code collection
try
{
string uri = "https://www.google.com/";
string responseBody = await client.GetStringAsync(uri);
Console.WriteLine(responseBody);
}
catch(Exception ex) { }