After setting the proxy properties, the proxy site denied the connection Ex. // after http creation and unlock http.ProxyDomain = "proxyaddress.com";
http.ProxyPort = 3128;
string html = http.QuickGetStr("sometext.txt");
// in html get the next page, instead the file contents of sometext.txt... // the contents of html is like
This Page Cannot Be Displayed Authentication is required to access the Internet using this system. A valid user ID and password must be entered when prompted. Notification codes: (1, PROXY_AUTH_REQUIRED)
How can i set the correct credentials to go through this kind of proxy? Any ideas?
asked Oct 23 '12 at 11:28
Set the http.ProxyLogin and ProxyPassword properties.
answered Oct 23 '12 at 15:27