You can run/call URL and get response from desktop application
private static string GetPageContent(string FullUri) { HttpWebRequest Request = default(HttpWebRequest); StreamReader ResponseReader = default(StreamReader); Request = (HttpWebRequest)WebRequest.Create(FullUri); ResponseReader = new StreamReader(Request.GetResponse().GetResponseStream()); return ResponseReader.ReadToEnd(); }solution by: Rajesh Rolen
No comments:
Post a Comment