WebProxy credentials

G

Guest

I'm trying to execute an HttpWebRequest through a firewall/proxy that
requires a User ID and Password. I've tried the default WebProxy that is
created automatically and I've tried GetDefaultProxy. Both cases are the
same. The WebRequest/WebProxy picks up the Server information from the
Connection Manager, but does NOT get any of the credentials that I entered on
the "Socks 5 Authentication" dialog. How can I get the User ID and password
that are entered here by the user. I am trying to avoid having to securely
retain User ID and password settings within my application. In all examples
I've found, they use "new NetworkCredentials(Username, Password)" but I don't
know how to get the Username and Password from the information already
entered by the user.

I am using CF 1.0 SP3 on WM2005SE.

To make sure we are on the same page, here is how I enter User ID and
password:

Start | Settings | Connections Tab | Connections Icon | Tasks Tab

This brings up "Bluetooth Settings" with four "links" the third one is "Set
up my proxy server". Clicking that allows me to select "This network connects
to the Internet" and "This network uses a proxy server...". I can enter the
proxy server, and/or hit the "Advanced..." button which takes me to a form I
can select the Server and Port for each of: HTTP/WAP/Secure WAP/Socks. If I
enter something into the Socks Server text box, I can then select Socks 5,
which allows me to tap the "Socks 5 ID..." button which takes me to a form
that (finally) allows me to enter User ID and Password.

"Socks 5 Authentication" contains "User ID" and "Password" text boxes.

To email me directly, remove "elicacy" and "zier" from my email address.
 
G

Guest

Hi,

I am having the sam eissue.
If you have resolved this can you please post the solution?

Thanks,
Momtchil
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top