Пример #1
0
        identifyTemplate()
        {
            uint userId = 0;
            byte subId  = 0;

            suprema.identify((uint)savedTemplate.Length,
                             savedTemplate,
                             ref userId,
                             ref subId);


            string msg = $"Template Identified, UserId: {userId}, SubId: {subId}";

            log(msg);
        }
Пример #2
0
        identify(Action <uint, byte> callback)
        {
            uint userId = 0;

            byte subId = 0;

            UF_RET_CODE result = deviceAgent.identify(ref userId,
                                                      ref subId);


            callback?.Invoke(userId,
                             subId);


            return(result);
        }