Windows login form?

Do you know the awesome form of Windows Live that asks for your testimonies?

Gmail Notifier is also one way or another.

Is there any way I can call something like this in the application?


HERE!
BEHOLD


I want to use this dialog box for local authentication in a desktop application.

+2
source share
1 answer

You can look at the call to CredUIPromptForWindowsCredentials :

From MSDN :

The CredUIPromptForWindowsCredentials function creates and displays a custom dialog box that allows users to provide credentials using any credential provider installed on the local computer.

But thereโ€™s more to this than just displaying a dialog and receiving / receiving an action - you will most likely need to register an authentication provider in the system, among other things that I donโ€™t quite understand, explaining any detail! You can give you a decent launch pad, though.

UPDATE:

Oded compensated for my laziness and provided a pinvoke.net link displaying definitions for this in a managed environment:

CredUIPromptForWindowsCredentials PInvoke.NET Link

+2
source

All Articles