Audiovox P965 Datasheet Page 162

  • Download
  • Add to my manuals
  • Print
  • Page
    / 280
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 161
API in VB dot NET
159
Dim tmp = BitConverter.GetBytes(l Or &HE0000000)
Return New Byte() {tmp(3), tmp(2), tmp(1), tmp(0)}
Else
Dim tmp = BitConverter.GetBytes(l)
Return New Byte() {&HF0, tmp(3), tmp(2), tmp(1), tmp(0)}
End If
End Function
End Class
Example
Module Module1
Sub Main()
Dim mk = New Mikrotik("mikrotik")
If Not mk.Login("admin", "PpAaSsWwOoRrDd") Then
Console.WriteLine("Cant log in")
mk.Close()
Console.ReadLine()
Return
End If
mk.Send("/system/clock/getall", True)
For Each row In mk.Read()
Console.WriteLine(row)
Next
Console.ReadLine()
End Sub
End Module
Page view 161
1 2 ... 157 158 159 160 161 162 163 164 165 166 167 ... 279 280

Comments to this Manuals

No comments