I need to hit an URL but don't want to wait for response.. Just request an URL(cron) for updating data. I use this below code it wait till response comes. Please clarify.
string url = "http://exampleurl";
WebRequest request = HttpWebRequest.Create(url);
WebResponse response = request.GetResponse();
StreamReader reader = new StreamReader(response.GetResponseStream());
string responseText = reader.ReadToEnd();