User Credentials A provider capable of invoking a C # application?

I'm currently working on integrating a c# gesture authentication program using kinect in windows as an authentication form for part of my project last year. When C # program authentication completes, an event will be sent if the specified gesture is authenticated as a valid gesture.

So my question is:

  • I am currently using sampleHardWareEventCredentialProvider from microsoft. Is it suitable to achieve what I want to achieve?

  • Is it possible to encode a user account key so that it can call my C # program to authenticate and return the event to the account, regardless of whether the authentication was successful or not? If so, can someone kindly point me in the right direction?

+4
source share
2 answers

I think that to create a custom Credential Provider you need to implement the ICredentialProvider COM interface http://msdn.microsoft.com/en-us/library/windows/desktop/bb776042.aspx . You can do this using C # (possibly http://www.codeproject.com/Articles/7859/Building-COM-Objects-in-C ). Are you already using SampleHardWareEventCredentialProvider with C # successfully?

0
source

A sample of the Credential Provider equipment, of course, from what I read is made for what you are trying to do, as it is currently configured to authenticate the user through third-party equipment, such as fingerprint readers, etc. One could assume that Kinect fits well into this model, suggesting that you can get the gesture element correctly! Also, keep in mind that Credential Providers were written for Vista, so Kinect might not have been a glitter in the eye of MS-Dev at the time.

From the point of view of your second point, about the possibility of calling the C # application for authentication, yes, you certainly can, since I did it this week myself, using the WPF application to write a self-service password to reset the application. I did not need to return the event / data back to the credential provider from the C # application, since I do not need to do this, but I can not imagine that this is a massive error.

Hope this helps.

0
source

All Articles