Yes its posssible
step 1 . connect the device using the code
public void connectDevice()
{
string ipaddress = "192.168.1.112";
int port = 4370;
status = macobj.Connect_Net(ipaddress, port);
macobj.RegEvent(iMachineNumber, 65535);
}
This code connect the device and your code
step 2 using the below function to get all the data
public List<datamodel1> userData()
{
List<datamodel1> UserInfoList = new List<datamodel1>();
string dwEnrollNumber = "";
int dwMachineNumber = 0;
string Password = "";
string Name = "";
bool dwEnable = false;
int dwVerifyMode = 0;
int dwInOutMode = 0;
int dwWorkcode = 0;
int dwYear = 0;
int dwMonth = 0;
int dwDay = 0;
int dwHour = 0;
int dwMinute = 0;
int dwSecond = 0;
//bool dwEnable = true;
int Privilege = 1;
if (macobj.ReadAllUserID(iMachineNumber))//read all the attendance records to the memory
{
while (macobj.SSR_GetAllUserInfo(dwMachineNumber, out dwEnrollNumber, out Name, out Password, out Privilege, out dwEnable))
{
UserInfoList.Add(new dataModel1 { ENROLLNUMBER = dwEnrollNumber, NAME = Name, PASSWORD = Password, PRIVILAGE = Privilege.ToString(), ENABLE = dwEnable });
}
}
return UserInfoList;
}