抄来的。备用
转载自 http://www.cnblogs.com/insus/p/3658752.html
//System.Threading.Thread.Sleep(1000);
//string url = "";
//System.Net.HttpWebRequest myreqeust =(System.Net.HttpWebRequest)System.Net.WebRequest.Create(url);
//System.Net.HttpWebResponse myresponse = (System.Net.HttpWebResponse)myreqeust.GetResponse();
//System.IO.Stream fs = myresponse.GetResponseStream();