5

In Windows 8 a new authentication method for non-domain users has been introduced: using PIN set in Control Panel.

Currently our application supports Windows logon by pre-saved password using LogonUserW() and now requires support of PIN as well.

How can we achieve that from .NET application, directly or by P/Invoke?

abatishchev
  • 98,240
  • 88
  • 296
  • 433

1 Answers1

3

So all that stuff is governed by the ICredentialProvider hive of interfaces - for Windows 8, they added an extension in ICredentialProvider2, mainly to tie credential providers to individual user accounts.

I'm no expert here, but I did dig up some references:

My gut says you could probably create a slim wrapper for the COM interfaces (probably the ICredentialProviderProvider and ICredentialProvider interfaces), and invoke them that way...but I'm mostly guessing here.

JerKimball
  • 16,584
  • 3
  • 43
  • 55