public bool IsAvailable() { WebBrowser browser = new WebBrowser(new RequestConfig() { PageLoadTimeout = 5, Method = "POST" }); var proxy = new WebProxy(this.Address, this.Port); if (this.Credential != null) { proxy.Credentials = this.Credential; } browser.WebProxy = proxy; var key = Guid.NewGuid().ToString(); var response = browser.DownloadString("http://bdatahub.com/api/ProxyTester.ashx", new Dictionary <string, string>() { { "key", key } }); return(response.PageSource == key); }