MxLabs / Anviz

.NET library to access and control Anviz devices.
MIT License
33 stars 17 forks source link

Problem device.GetEmployeesData(); #60

Closed salvsena closed 3 years ago

salvsena commented 3 years ago

Hi, i have a problem with retrieve users information. I have tryed with vb and with c#, but i have same error: "system.indexoutofrangeexception 'index was outside the bounds of the array.', whe i call device.GetEmployeesData();

is there anyone who can help me?

This is the code:

With C#: using (var device = await manager.Connect("192.168.1.217")) { var employees = await device.GetEmployeesData(); }

With VB: Using device = Await manager.Connect("192.168.1.217") Dim employees As List(Of Responses.UserInfo) = Await device.GetEmployeesData() End Using

Thanks !

salvsena commented 3 years ago

solved