Login method Customization using GINA [closed]
- by netseng
DUPLICATE:http://stackoverflow.com/questions/523912/login-method-customization-using-gina
Hi All,
I know it's not easy to find a master in GINA, but my question is most near to Interprocess Communication(IPC), I wrote my custom GINA in unmanaged c++, I included it a method that checks for validity of a fingerprint for the user try to login, this function will call some method in a running system windows service written in c#, the code follows:
in GINA, unmanaged c++
if(Fingerprint.Validate(userName,finerprintTemplate)
{
//perform login
}
in windows service, C#
public class Fingerprint
{
public static bool Validate(string userName, byte[] finerprintTemplate)
{
//Preform Some code to validate fingerprintTemplate with userName
//and retuen result
}
}
Does anyone know how to do such Communication between GINA and the windows service, or simply between c++ written service and C# written service.
Thanks