Hi,
I am working on an application to set System Wide Proxy for HTTP traffic.
Till now I have been able to set Proxy for IE on realtime. However, the proxy server uses BASIC authentication and this is creating problems.
Application asks for username and password in textbox, but I dont know how to set those.
Below is the code which I am using to set proxy for IE, and for Firefox I am modifying the prefs.js file. This changes the Proxy Settings for IE, Chrome and Firefox, however after setting the proxy when I open the browser and open any website, a DialogBox appears asking for UserName and Password.
If someone can guide me to resolve this UserName and Password issue, I would be really thankful.
Code at http://pastebin.com/eQAFmNst
Regards,
Mudasir Mirza
Mudasir MirzaPosted Feb 19, 2012, 5:10 PM
It is not Anonymous Authentication. The proxy server requires BASIC authentication, and my C# application has two text boxes (txtusername and txtpassword).
Just want to know how can I set user inputs from these two text boxes as browsers proxy username and password.
The code I provided is working perfectly fine to set the Proxy server for IE. But I want to set the username and password also.
Suthish NairPosted Feb 19, 2012, 4:28 PM