hi I am working on an application developed in c# using zkemkeeper SDK and Machine is Zkteco TFT
everything is working fine and all events are working but I need to bypass device verification when someone swipes his finger I want to get a finger template and want to verify from database SQL.
i try this code but i got the error
System.ArgumentNullException: 'Buffer cannot be null.Parameter name: buffer'
Graphics g = pictureBox1.CreateGraphics();
int dc = g.GetHdc().ToInt32();
// zKFP.PrintImageAt(dc, 0, 0, zKFP.ImageWidth, zKFP.ImageHeight);
object obj = null;
zKFP.GetFingerImage(ref obj);
byte[] data = (byte[])obj;
MemoryStream ms = new MemoryStream(data);
Image imG = Image.FromStream(ms);
GetFingerPrint(ref obj)
is returning and object of typeSystem.Byte[]
.Try this