Daniel Silveira
Daniel Silveira

Reputation: 42553

How to prompt the default windows credentials dialog form for internet proxy in .NET?

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 http://grab.by/23II

Upvotes: 3

Views: 4283

Answers (1)

Tony The Lion
Tony The Lion

Reputation: 63310

Have a look here

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

Upvotes: 3

Related Questions