1HttpWebRequest request = (HttpWebRequest)WebRequest.Create("[ultimate destination of your request]");
2WebProxy myproxy = new WebProxy("[your proxy address]", [your proxy port number]);
3myproxy.BypassProxyOnLocal = false;
4request.Proxy = myproxy;
5request.Method = "GET";
6HttpWebResponse response = (HttpWebResponse) request.GetResponse();
7