0

I need to implement a custom Credential Provider in C#, but I am struggling to find the COM interface definition.

Have any of you managed to do so?

My idea is to use such provider to create an auto logon mechanism triggered from a Windows Service (developed in C#).

Cheers,

  • http://pgina.org will make this easier. – Alex K. Jan 03 '17 at 11:58
  • This is the documentation for the [ICredentialProvider](https://msdn.microsoft.com/en-us/library/windows/desktop/bb776042.aspx) interface. Requires that you know COM, and how to translate interface implementations to C#. – IInspectable Jan 03 '17 at 12:47
  • @AlexK. i cannot use pGina because this will require another service that replaces the actual logon process. Some end users would not allow that. The least intrusive option is a COM provider that works alongside whatever is that the user has on his end. – Robson Felix Jan 04 '17 at 11:07
  • @IInspectable that is the thing. I am having a hard time translating that interface to COM... any directions you can point me to? – Robson Felix Jan 04 '17 at 11:08
  • @RobsonFelix I have made an example C# implementation of CredentialsProvider - you can find it here: https://github.com/phaetto/windows-credentials-provider – Alexander Mantzoukas Mar 02 '18 at 12:15
  • @AlexanderMantzoukas I will look into it and let you know how it went. Thanks man! – Robson Felix Apr 16 '18 at 23:27

0 Answers0