Here is a minimal example in C# using the .NET wrapper:
using ZKFingerLib;public class BiometricService private ZKFinger m_finger = new ZKFinger(); Zkfinger Sdk 5.3 Download
public bool ConnectDevice() int result = m_finger.InitEngine(12345); // App ID if (result == 0) return m_finger.OpenDevice(0) == 0; // Open first device return false; public byte[] CaptureFingerprint() byte[] template = new byte[2048]; int size = 0; int quality = 0; if (m_finger.GetFingerprintTemplate(template, ref size, ref quality) == 0 && quality >= 50) return template; return null;
Note: You must reference ZKFingerNet.dll in your project and set "Copy Local" to true. Here is a minimal example in C# using the
Navigate to the SDK folder. You should find: Note: You must reference ZKFingerNet
Connect a compatible fingerprint reader and run the EnrollmentDemo.exe from the samples folder to test.
C:\Program Files (x86)\ZKTeco\ZKFinger SDK 5.3\).