How To Create A Biometric Log On For Pos

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 4

How to: Enable biometric logon support for POS

Further reading
Microsoft Dynamics AX 2012 for Developers [AX 2012] SDK Download

Tutorial
Dynamics AX Retail 2012 allows ISVs to use biometric device for logon. Following interface must be implemented by pos plugin.

Following the typical sequence for POS logon follow and call into the biometric plugin.

Steps: o Impement following interface in a new POS plugin assembly.


Microsoft.Dynamics.Retail.Pos.Contracts.Services.IBiometricDevice

o o

Copy the POS plug and related assemblies to the POS foler. Launch POS

Go to Extended Log on operation and click assign on any staff to enroll for bitometric logon.

Example
public sealed class BiometricPlugin : IBiometricDevice { public event BiometricDeviceDataEventHandler DataReceived; public event BiometricDeviceStatusEventHandler StatusUpdate; public void Load() { // Init the biometric device } public void Unload() { // Cleanup } public string DeviceName { get { return string.Empty; } } public string DeviceDescription { get { return string.Empty; } } public bool IsActive { get { return true; } } public void BeginEnrollCapture() { // Create worker thread for enroll capture and return } public void BeginVerifyCapture() { // Create worker thread for verify capture and return } public void EndCapture() { // close the thread. } public string Identify(IExtendedLogOnInfo captureData, ICollection<byte[]> candidates) { string logOnKey = null;

// Identify the give capture data from given cadidates and return hash (e.g. MD5 HASH) of found cadidate. return logOnKey; } }

You might also like