Issue in integrating ZKT finger print device into dotnet core api project

0

I am using zkemkeeper to integrate ZKT into dotnet core api project. I add simply package reference <PackageReference Include="ZKemkeeper" Version="1.0.2"/>

Then create a class named ZkemClient and inherit from IZKEM and implement all of its methods the class and its constructor is. I am not mentioning all methods of IZKEM.

    public class ZkemClient  : IZKEM  
    {
        //     Action<object, string> RaiseDeviceEvent;

        // public ZkemClient(Action<object, string> RaiseDeviceEvent)
        // { this.RaiseDeviceEvent = RaiseDeviceEvent; }
        public ZkemClient()
        {
            
        }
        CZKEM objCZKEM = new CZKEM();

    }  

I am calling it controller like this

ZkemClient client = new ZkemClient();
client.Connect_Net("172.16.20.150", 80);

It throws exception at CZKEM objCZKEM = new CZKEM(). The is exception "COMException: Retrieving the COM class factory for component with CLSID {00853A19-BD51-419B-9269-2DABE57EB61F} failed due to the following error: 80040154 Class not registered (0x80040154 (REGDB_E_CLASSNOTREG))." I try a lot of solution but cannot resolve the issue. Try to register zkemkeeper in window 10 64 bit which give me error "The module zkemkeeper.dll failed to load".

c#
api
.net-core
fingerprint
zkteco
asked on Stack Overflow Nov 25, 2020 by Zahoor Ghani

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0