1

This is my code. I want to make this webrequest from ip address 172.17.2.1. Is it possible?

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;
It'sNotALie.
  • 22,289
  • 12
  • 68
  • 103
  • Have a look at this: http://stackoverflow.com/questions/5515000/choosing-which-ip-the-http-request-is-using-when-having-multiple-ips-net – Kamil T Aug 08 '13 at 09:00

0 Answers0