Exemplo n.º 1
0
        private void fp_OnImageReceived(object sender, IZKFPEngXEvents_OnImageReceivedEvent e)
        {
            object imgdata = new object();
            string base64  = fp.GetTemplateAsString();
            bool   b       = fp.GetFingerImage(ref imgdata);

            if (b == true)
            {
                byte[]       data  = (byte[])imgdata;
                MemoryStream ms    = new MemoryStream(data);
                Image        image = Image.FromStream(ms);

                huellas_1.Image = image;

                huellaByte   = data;
                huellaImagen = image;
            }
        }
Exemplo n.º 2
0
 public static string GetLatestTemplate()
 {
     return(Control.GetTemplateAsString());
 }