This is a C# implementation of the CredentialDialog. It uses the default Windows Credential Dialog