Good afternoon, I have to list on a table the id and name hostpot the users in C sharp.
I need help.
I have done as below:
textBox2.Text = null;
mikrotik.Send("/ip/hotspot/user/print");
mikrotik.Send("=.proplist=.id,name", true);
foreach (string h in mikrotik.Read())
{
textBox2.Text = textBox2.Text + h;
}
this returning
!re=.id=*1=name=luan
!re=.id=*2=name=rafael
!done
But just want the id and name, a table as in datagridview.