How to catch event of fingerprint scan on machine

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • satiss7pwr
    New Member
    • Jan 2010
    • 41

    How to catch event of fingerprint scan on machine

    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

    Code:
    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
    Last edited by Niheel; May 23 '11, 06:41 PM. Reason: Please ask questions in your own threads, also use code tags to display code.
  • Plater
    Recognized Expert Expert
    • Apr 2007
    • 7872

    #2
    That is something you would have to take up with the people who developed the fingerprinter

    Comment

    Working...