hey Friends,
I want a simple help from you,
I want a code that how to catch event of finger put on machine and how to catch the signal(message) from fingerprint machine (Like finger is valid or not)
I have a code to connect with fingerprint device as below
int count = 0;
zkemkeeper.CZKEMClass axczkem1 = new zkemkeeper.CZKEMClass();
bool bIsConnected = false;
string ip = "192.168.1.170";//write here IP Address of your biomatric m/c
int port = 4370;
bIsConnected = axczkem1.Connect_Net(ip, port);
if (bIsConnected == true)
{
Label1.Text = "Connection established!!!";
bool ret = axczkem1.ReadAllGLogData(1);
if (ret)
{
int a = 0;
int b = 0;
int c = 0;
int d = 0;
int ee = 0;
int f = 0;
int g = 0;
int h = 0;
int i = 0;
int j = 0;
int k = 0;
int l = 0;
int m = 0;
int n = 0;
int o = 0;
while (axczkem1.GetAllGLogData(1, ref a, ref b, ref c, ref k, ref l, ref d, ref m, ref ee, ref f, ref g))
{
//if (ee == 7 && m == 4 && d == 2011)
{
count++;
//if (b == //any Employee No)
//{
Label1.Text = b.ToString() + " hour: " + f + " Min: " + g;
//Label1.Text=k.ToString() + " " + l.ToString();
//}
}
}
//MessageBox.Show(count.ToString ());
}
}
else
Label1.Text = "cannot Connection!!!";
axczkem1.Disconnect();
But i dont know how to implement further,
Please any one help me
The connection is establish successfully but i dont know about other events like finger putting on machine,catch message sent by machine
Thanks