Im new using C# and this is my firts project trying to configure an sdk. I'm triying to use this sdk: https://github.com/MuaazH/ZKTeco_PULLSDK_Wrapper, but I don't know how I can use it on my own project. For example, I dont know how I can print all users or something like that.
using i04PullSDK;
AccessPanel ACDevice = new AccessPanel();
// connect
if (!ACDevice.Connect("192.168.1.201", "4370", "1234", 5000))
{
return; // could not connect
}
// read users
List<User> users = ACDevice.ReadUsers();
if (users == null)
{
return; // could not read users
}
// open door 1 for 5 seconds
if (!ACDevice.OpenDoor(1, 5))
{
return; // count not open door
}
With the code below I got this errors
Severity Code Description Project File Line Status Suppressed Error CS0246 The type or namespace name 'i04PullSDK' was not found (are you missing a using directive or an assembly reference?) Tracers
And a few other mistakes.
If you could please send me a video or explain to me by text what I am asking, I would greatly appreciate it.