版本SDK5.0

       [DllImport("Match.dll")]
        static extern bool process(string a, string b);
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                if (!string.IsNullOrEmpty(Request.Form["finger"]))
                {

                    
                    //var fpProcess = new FPCom.FPProcess();
                    foreach (var T in new BLL.UserFingerBLL().GetAllFinger())
                    {
                        //IntPtr fingerinfo = Marshal.StringToHGlobalAnsi(T.FingerTemplate);
                        Response.Write(process(T.FingerTemplate, Request.Form["finger"]) + "<br/>");
                    }
                    Response.Write(Request.Form["finger"]);
                }
            }
        }

  说明,Match.dll版本最后是在SDK包中提出,否则程序会出错。

相关文章:

  • 2021-09-29
  • 2022-01-04
  • 2021-06-18
  • 2021-10-20
  • 2021-11-17
  • 2021-09-25
  • 2021-08-17
  • 2022-01-30
猜你喜欢
  • 2022-02-07
  • 2022-12-23
  • 2021-11-19
  • 2022-02-09
  • 2022-12-23
  • 2021-07-26
  • 2022-01-07
相关资源
相似解决方案