I have been working with a biometric device for quite some time now. I have always been able to connect a biometric device and fetch the data out of it. But this time I have been giving a very old device (Pegasus PB-7) which is connected to a server. I am only given the remote desktop connection and access to a biometric device. The problem I am facing is that there is already a software installed on a remote desktop and when I provide the Ip and port it connects to it in seconds. But when I use zkemSdk which I have been using to connect to other devices as well, it doesn't connect and the following method returns -7 to me.
int idwErrorCode = -1;
this.objCZKEM.GetLastError(ref idwErrorCode);
This code is not defined in the SDK manual. I am able to ping the device and telnet works as well. Please give some pointers to what might be the problem.