to test if the proxy server is alive, you can use a ping utility like the followinghttp://www.csharphelp.com/archives/archive6.htmlto test if you can reach the destination through the proxy, try to do a request with the proxy, for exampleHttpWebRequest req = (HttpWebRequest)WebRequest.Create(url); req.Proxy = new WebProxy("proxy address"); req.Timeout = 1000; //1 second, will throw an exception will it times out HttpWebResponse myHttpWebResponse=(HttpWebResponse)req.GetResponse(); ....
req.Proxy = new WebProxy("proxy address");
req.Timeout = 1000; //1 second, will throw an exception will it times out
HttpWebResponse myHttpWebResponse=(HttpWebResponse)req.GetResponse();
....