var request = (HttpWebRequest)WebRequest.Create(url); request.Timeout = Timeout.Infinite; request.KeepAlive = true; var response = (HttpWebResponse)request.GetResponse();