private static string HttpGet(string uri) { var http = new HttpClient(); http.BaseAddress = new Uri(uri); var res = http.GetStringAsync("").Result; return res; }