views:

67

answers:

2

My .NET app uses a WebService and, in some clients, I am getting HTTP 407 (proxy authentication required). So I need to ask the user to input his user/password credentials.

So, how to use the default Windows dialog? (see below)

Is it possible in .NET? Or will I need to build my own custom form?

Internet Proxy Credentials Dialog

A: 

Have a look here

It contains a class that will get the Credential Dialog and an example of how to use it.

Tony
A: 

Take a look at

Net.WebRequest.DefaultWebProxy
Net.CredentialCache.DefaultCredentials

Regards and happy coding

Muleskinner
How exactly should I use to does classes to achieve my goal?
Daniel Silveira