4 个解决方案
#1
up
#2
拜托各位大侠帮帮小弟吧!本人感激不尽!
#3
add it to the header, see
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemnetwebheadercollectionclassaddtopic.asp
HttpWebRequest req = (HttpWebRequest)WebRequest.Create(url);
req.Headers.Add("Accept-Language", "cs,en-us;q=0.7,en;q=0.3");
req.Headers.Add("Accept-Encoding", "gzip, deflate");
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemnetwebheadercollectionclassaddtopic.asp
HttpWebRequest req = (HttpWebRequest)WebRequest.Create(url);
req.Headers.Add("Accept-Language", "cs,en-us;q=0.7,en;q=0.3");
req.Headers.Add("Accept-Encoding", "gzip, deflate");
#4
思归大哥,我已看到了你在另一帖中的答案!多谢了!
#1
up
#2
拜托各位大侠帮帮小弟吧!本人感激不尽!
#3
add it to the header, see
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemnetwebheadercollectionclassaddtopic.asp
HttpWebRequest req = (HttpWebRequest)WebRequest.Create(url);
req.Headers.Add("Accept-Language", "cs,en-us;q=0.7,en;q=0.3");
req.Headers.Add("Accept-Encoding", "gzip, deflate");
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemnetwebheadercollectionclassaddtopic.asp
HttpWebRequest req = (HttpWebRequest)WebRequest.Create(url);
req.Headers.Add("Accept-Language", "cs,en-us;q=0.7,en;q=0.3");
req.Headers.Add("Accept-Encoding", "gzip, deflate");
#4
思归大哥,我已看到了你在另一帖中的答案!多谢了!