Author: yogarajan | Posted on: 10/9/2009 2:10:04 AM | Views : 236

Hi friend
this is my code
i got "The operation has timed out" error






           timer.Tick += new EventHandler(GetWebPageTitle); // Everytime timer ticks, timer_Tick will be called timer.Interval = (1000) * (30); // Timer will tick evert second timer.Enabled = true; // Enable the timer timer.Start(); public void GetWebPageTitle(object sender, EventArgs e) { string url = "http://www.ciitelearn.org"; HttpWebRequest request = HttpWebRequest.Create(url) as HttpWebRequest; request.UseDefaultCredentials = true; HttpWebResponse response = null; try { response = request.GetResponse() as HttpWebResponse; } ...

Go to the complete details ...