I have tried to register a person from the code, but always the result of the objZkeeper
always returns false and I don't know what to do help:
Hide Copy Code
objZkeeper = new zkCliente(RaiseDeviceEvent);
int MachineNumber = 1;
int dwEnrollNumbre = 1;
string EnrollNumber = "3";
string Name = "Mich";
string Password = "123";
int Privilege = 1;
bool Enabled = true;
bool result = objZkeeper.SetUserInfo(MachineNumber, dwEnrollNumbre, Name, Password, Privilege, Enabled);
if (result == true)
{
MessageBox.Show("Ok");
}
else
{
MessageBox.Show("Not Ok :c");
}
ZkClient
Hide Copy Code
public bool SetUserInfo(int dwMachineNumber, int dwEnrollNumber, string Name, string Password, int Privilege, bool Enabled)
{
return objCZKEM.SetUserInfo(dwMachineNumber, dwEnrollNumber, Name, Password, Privilege, Enabled);
}