Affichage page web via httpClient
Bjr à tous, comment faire pour afficher une page web depuis un code c# utilisant httpclient :
Code:
1 2 3 4 5 6 7 8 9
|
public static async Task HttpAsync()
{
var url = "http://www.google.com";
using (var httpClient = new HttpClient())
{
var content =await httpClient.GetStringAsync(url);
}
} |
la "var content" si je débogue en utilisant le visualisateur html de visual studio m'affiche la page web correspondant à l'url, mais comment fais t-on pour afficher cette page web par programmation ?
Si quelqu'un a une idée MERCI