17,740
社区成员
发帖
与我相关
我的任务
分享
myHttpWebRequest = (HttpWebRequest)WebRequest.Create(strUrl);
myHttpWebRequest.Method = "GET";
myHttpWebRequest.CookieContainer = myCookieContainer;
myHttpWebRequest.UserAgent = "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E)";
myHttpWebResponse = (HttpWebResponse)myHttpWebRequest.GetResponse();
string strDownUrl = myHttpWebResponse.ResponseUri.AbsoluteUri;