try { WebRequest req = WebRequest.Create(URI); WebResponse resp = req.GetResponse(); StreamReader sr = new StreamReader(resp.GetResponseStream()); return sr.ReadToEnd().Trim(); } catch (Exception ex) { MessageBox.Show(ex.Message); return null; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)