我知道在 GINA 中找到大师并不容易,但我的问题最接近进程间通信(IPC),我在非托管 C++ 中编写了我的自定义 GINA,我将它包括一个检查指纹有效性的方法,供用户尝试登录时,该函数会调用c#编写的正在运行的系统windows服务中的一些方法,代码如下:
在 GINA 中,非托管 c++
if(Fingerprint.Validate(userName,finerprintTemplate)
{
//perform login
}
在 Windows 服务中,C#
public class Fingerprint
{
public static bool Validate(string userName, byte[] finerprintTemplate)
{
//Preform Some code to validate fingerprintTemplate with userName
//and retuen result
}
}
有谁知道如何在 GINA 和 windows 服务之间进行这种通信,或者只是在 c++ 编写的服务和 C# 编写的服务之间进行通信。
谢谢