1

这是我的代码。我想从 IP 地址 172.17.2.1 发出这个网络请求。可能吗?

HttpWebRequest request = (HttpWebRequest)WebRequest.Create("http://m.facebook.com");
request.CookieContainer = new CookieContainer();
request.CookieContainer.Add(cookies);

HttpWebResponse response = (HttpWebResponse)request.GetResponse();
cookies = response.Cookies;
4

0 回答 0