registration-table problem with API in Vb.NET

Hi all, i was search about this but i can’t find anything…

The problem is that if i send the command “/interface/wireless/registration-table/print” command in vb.net i dont get any response from router and vb.net throws an overflow at this line:

count = BitConverter.ToInt32(New Byte() {tcpStream.ReadByte(), tmp(3), 0, 0}, 0) ^ &H8000

The .NET Code:

Dim mk2 = New rosapi(mkHost)
mk2.Login(mkUser, mkPass)
mk2.Send("/interface/wireless/registration-table/print", True)
MsgBox(mk2.Read(0))
mk2.Close()

There are other command similar to above to view SSID, signal, ccq…??

Thanks!