<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title>Mikrotik.moscow [тема: API в VB.NET]</title>
		<link>http://mikrotik.moscow</link>
		<description>Новое в теме API в VB.NET форума RouterOS на сайте Mikrotik.moscow [mikrotik.moscow]</description>
		<language>ru</language>
		<docs>http://backend.userland.com/rss2</docs>
		<pubDate>Sun, 16 Aug 2026 13:05:50 -0400</pubDate>
		<item>
			<title>API в VB.NET</title>
			<description><![CDATA[<b><a href="http://mikrotik.moscow/forum/forum57/57647-api-v-vb.net/message217322">API в VB.NET</a></b> <i>RouterOS</i> в форуме <a href="http://mikrotik.moscow/forum/forum57/">RouterOS</a>. <br />
			Привет, Boen_Robot! Извини за задержку, у меня сейчас не очень много времени на мой проект. Я добавил .dll, как ты и просил. Проблема в tiksession. Мне нужно создать исходный код. Я нашел много библиотек в Wiki для Mikrotik, но сообщество не предоставляет исходники. Я понимаю это. Мне нужна помощь, чтобы начать. Мое решение — чтобы кто-нибудь согласился поделиться со мной исходный код. Ты можешь помочь? <br />
			<i>26.02.2014 07:53:00, Bourbon.</i>]]></description>
			<link>http://mikrotik.moscow/forum/forum57/57647-api-v-vb.net/message217322</link>
			<guid>http://mikrotik.moscow/forum/forum57/57647-api-v-vb.net/message217322</guid>
			<pubDate>Wed, 26 Feb 2014 07:53:00 -0500</pubDate>
			<category>RouterOS</category>
		</item>
		<item>
			<title>API в VB.NET</title>
			<description><![CDATA[<b><a href="http://mikrotik.moscow/forum/forum57/57647-api-v-vb.net/message217321">API в VB.NET</a></b> <i>RouterOS</i> в форуме <a href="http://mikrotik.moscow/forum/forum57/">RouterOS</a>. <br />
			Постой… это же не Tik4Net! Ты просто переименовал класс VB из вики в TikSession… Так не пойдёт. Нужно скачать клиент с его страницы Google Code. Ну, вот эту вот: . Как только скачаешь, добавь ссылку на этот .DLL в свой проект. <br />
			<i>06.02.2014 15:11:00, boen_robot.</i>]]></description>
			<link>http://mikrotik.moscow/forum/forum57/57647-api-v-vb.net/message217321</link>
			<guid>http://mikrotik.moscow/forum/forum57/57647-api-v-vb.net/message217321</guid>
			<pubDate>Thu, 06 Feb 2014 15:11:00 -0500</pubDate>
			<category>RouterOS</category>
		</item>
		<item>
			<title>API в VB.NET</title>
			<description><![CDATA[<b><a href="http://mikrotik.moscow/forum/forum57/57647-api-v-vb.net/message217320">API в VB.NET</a></b> <i>RouterOS</i> в форуме <a href="http://mikrotik.moscow/forum/forum57/">RouterOS</a>. <br />
			Спасибо за ответ. Вот мой код (Tiksession):<br /><br />Imports System<br />Public Class TikSession<br /> &nbsp; &nbsp;Dim tcpStream As IO.Stream<br /> &nbsp; &nbsp;Dim tcpCon As New Net.Sockets.TcpClient<br /><br /> &nbsp; &nbsp;Public Sub New(ByVal ipOrDns As String, Optional ByVal port As Integer = -1)<br /> &nbsp; &nbsp; &nbsp; &nbsp;Dim ips = Net.Dns.GetHostEntry(ipOrDns)<br /> &nbsp; &nbsp; &nbsp; &nbsp;tcpCon.Connect(ips.AddressList(0), If(port = -1, 8728, port))<br /> &nbsp; &nbsp; &nbsp; &nbsp;tcpStream = tcpCon.GetStream()<br /> &nbsp; &nbsp;End Sub<br /><br /> &nbsp; &nbsp;Public Sub New(ByVal endP As System.Net.IPEndPoint)<br /> &nbsp; &nbsp; &nbsp; &nbsp;tcpCon.Connect(endP)<br /> &nbsp; &nbsp; &nbsp; &nbsp;tcpStream = tcpCon.GetStream()<br /> &nbsp; &nbsp;End Sub<br /><br /> &nbsp; &nbsp;Public Sub Close()<br /> &nbsp; &nbsp; &nbsp; &nbsp;tcpStream.Close()<br /> &nbsp; &nbsp; &nbsp; &nbsp;tcpCon.Close()<br /> &nbsp; &nbsp;End Sub<br /><br /> &nbsp; &nbsp;Public Function Login(ByVal user As String, ByVal pass As String) As Boolean<br /> &nbsp; &nbsp; &nbsp; &nbsp;Send("/login", True)<br /> &nbsp; &nbsp; &nbsp; &nbsp;Dim hash = Read()(0).Split(New String() {"ret="}, StringSplitOptions.None)(1)<br /> &nbsp; &nbsp; &nbsp; &nbsp;Send("/login")<br /> &nbsp; &nbsp; &nbsp; &nbsp;Send("=name=" + user)<br /> &nbsp; &nbsp; &nbsp; &nbsp;Send("=response=00" + EncodePassword(pass, hash), True)<br /> &nbsp; &nbsp; &nbsp; &nbsp;Dim res = Read()<br /> &nbsp; &nbsp; &nbsp; &nbsp;If (res(0) = "!done") Then<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Return True<br /> &nbsp; &nbsp; &nbsp; &nbsp;Else<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Return False<br /> &nbsp; &nbsp; &nbsp; &nbsp;End If<br /> &nbsp; &nbsp;End Function<br /><br /> &nbsp; &nbsp;Function EncodePassword(ByVal pass As String, ByVal challange As String) As String<br /> &nbsp; &nbsp; &nbsp; &nbsp;Dim hash_byte(challange.Length / 2 - 1) As Byte<br /> &nbsp; &nbsp; &nbsp; &nbsp;For i = 0 To challange.Length - 2 Step 2<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;hash_byte(i / 2) = Byte.Parse(challange.Substring(i, 2), Globalization.NumberStyles.HexNumber)<br /> &nbsp; &nbsp; &nbsp; &nbsp;Next<br /> &nbsp; &nbsp; &nbsp; &nbsp;Dim response(pass.Length + hash_byte.Length) As Byte<br /> &nbsp; &nbsp; &nbsp; &nbsp;response(0) = 0<br /> &nbsp; &nbsp; &nbsp; &nbsp;Text.Encoding.ASCII.GetBytes(pass.ToCharArray()).CopyTo(response, 1)<br /> &nbsp; &nbsp; &nbsp; &nbsp;hash_byte.CopyTo(response, 1 + pass.Length)<br /> &nbsp; &nbsp; &nbsp; &nbsp;Dim md5 = New System.Security.Cryptography.MD5CryptoServiceProvider()<br /> &nbsp; &nbsp; &nbsp; &nbsp;Dim hash = md5.ComputeHash(response)<br /> &nbsp; &nbsp; &nbsp; &nbsp;Dim hashStr As New Text.StringBuilder()<br /> &nbsp; &nbsp; &nbsp; &nbsp;For Each h In hash<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;hashStr.Append(h.ToString("x2"))<br /> &nbsp; &nbsp; &nbsp; &nbsp;Next<br /> &nbsp; &nbsp; &nbsp; &nbsp;Return hashStr.ToString()<br /> &nbsp; &nbsp;End Function<br /><br /> &nbsp; &nbsp;Public Sub Send(ByVal command As String, Optional ByVal EndSentence As Boolean = False)<br /> &nbsp; &nbsp; &nbsp; &nbsp;Dim bytes = System.Text.Encoding.ASCII.GetBytes(command.ToCharArray())<br /> &nbsp; &nbsp; &nbsp; &nbsp;Dim size = EncodeLength(bytes.Length)<br /> &nbsp; &nbsp; &nbsp; &nbsp;tcpStream.Write(size, 0, size.Length)<br /> &nbsp; &nbsp; &nbsp; &nbsp;tcpStream.Write(bytes, 0, bytes.Length)<br /> &nbsp; &nbsp; &nbsp; &nbsp;If EndSentence Then<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;tcpStream.WriteByte(0)<br /> &nbsp; &nbsp; &nbsp; &nbsp;End If<br /> &nbsp; &nbsp;End Sub<br /><br /> &nbsp; &nbsp;Public Function Read() As List(Of String)<br /> &nbsp; &nbsp; &nbsp; &nbsp;Dim output As New List(Of String)<br /> &nbsp; &nbsp; &nbsp; &nbsp;Dim o = ""<br /> &nbsp; &nbsp; &nbsp; &nbsp;Dim tmp(4) As Byte<br /> &nbsp; &nbsp; &nbsp; &nbsp;Dim count As Long<br /> &nbsp; &nbsp; &nbsp; &nbsp;While True<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;tmp(3) = tcpStream.ReadByte()<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Select Case tmp(3)<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Case 0<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;output.Add(o)<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;If o.Substring(0, 5) = "!done" Then<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Exit While<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Else<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;o = ""<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Continue While<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;End If<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Case Is &lt; &H80<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;count = tmp(3)<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Case Is &lt; &HC0<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;count = BitConverter.ToInt32(New Byte() {tcpStream.ReadByte(), tmp(3), 0, 0}, 0) ^ &H8000<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Case Is &lt; &HE0<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;tmp(2) = tcpStream.ReadByte()<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;count = BitConverter.ToInt32(New Byte() {tcpStream.ReadByte(), tmp(2), tmp(3), 0}, 0) ^ &HC00000<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Case Is &lt; &HF0<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;tmp(2) = tcpStream.ReadByte()<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;tmp(1) = tcpStream.ReadByte()<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;count = BitConverter.ToInt32(New Byte() {tcpStream.ReadByte(), tmp(1), tmp(2), tmp(3)}, 0) ^ &HE0000000<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Case &HF0<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;tmp(3) = tcpStream.ReadByte()<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;tmp(2) = tcpStream.ReadByte()<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;tmp(1) = tcpStream.ReadByte()<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;tmp(0) = tcpStream.ReadByte()<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;count = BitConverter.ToInt32(tmp, 0)<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Case Else<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Exit While 'err<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;End Select<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;For i = 0 To count - 1<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;o += ChrW(tcpStream.ReadByte())<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Next<br /> &nbsp; &nbsp; &nbsp; &nbsp;End While<br /> &nbsp; &nbsp; &nbsp; &nbsp;Return output<br /> &nbsp; &nbsp;End Function<br /><br /> &nbsp; &nbsp;Function EncodeLength(ByVal l As Integer) As Byte()<br /> &nbsp; &nbsp; &nbsp; &nbsp;If l &lt; &H80 Then<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Dim tmp = BitConverter.GetBytes(l)<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Return New Byte() {tmp(0)}<br /> &nbsp; &nbsp; &nbsp; &nbsp;ElseIf l &lt; &H4000 Then<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Dim tmp = BitConverter.GetBytes(l Or &H8000)<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Return New Byte() {tmp(1), tmp(0)}<br /> &nbsp; &nbsp; &nbsp; &nbsp;ElseIf l &lt; &H200000 Then<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Dim tmp = BitConverter.GetBytes(l Or &HC00000)<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Return New Byte() {tmp(2), tmp(1), tmp(0)}<br /> &nbsp; &nbsp; &nbsp; &nbsp;ElseIf l &lt; &H10000000 Then<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Dim tmp = BitConverter.GetBytes(l Or &HE0000000)<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Return New Byte() {tmp(3), tmp(2), tmp(1), tmp(0)}<br /> &nbsp; &nbsp; &nbsp; &nbsp;Else<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Dim tmp = BitConverter.GetBytes(l)<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Return New Byte() {&HF0, tmp(3), tmp(2), tmp(1), tmp(0)}<br /> &nbsp; &nbsp; &nbsp; &nbsp;End If<br /> &nbsp; &nbsp;End Function<br />End Class<br /><br />Для меня это хорошо. Спасибо за вашу помощь. <br />
			<i>04.02.2014 08:16:00, Bourbon.</i>]]></description>
			<link>http://mikrotik.moscow/forum/forum57/57647-api-v-vb.net/message217320</link>
			<guid>http://mikrotik.moscow/forum/forum57/57647-api-v-vb.net/message217320</guid>
			<pubDate>Tue, 04 Feb 2014 08:16:00 -0500</pubDate>
			<category>RouterOS</category>
		</item>
		<item>
			<title>API в VB.NET</title>
			<description><![CDATA[<b><a href="http://mikrotik.moscow/forum/forum57/57647-api-v-vb.net/message217319">API в VB.NET</a></b> <i>RouterOS</i> в форуме <a href="http://mikrotik.moscow/forum/forum57/">RouterOS</a>. <br />
			Ты уверен, что TikSession был создан правильно? Если убрать комментарии из всех строк в Sub, кроме Dim, то программа компилируется? Какие там участники? <br />
			<i>03.02.2014 18:47:00, boen_robot.</i>]]></description>
			<link>http://mikrotik.moscow/forum/forum57/57647-api-v-vb.net/message217319</link>
			<guid>http://mikrotik.moscow/forum/forum57/57647-api-v-vb.net/message217319</guid>
			<pubDate>Mon, 03 Feb 2014 18:47:00 -0500</pubDate>
			<category>RouterOS</category>
		</item>
		<item>
			<title>API в VB.NET</title>
			<description><![CDATA[<b><a href="http://mikrotik.moscow/forum/forum57/57647-api-v-vb.net/message217318">API в VB.NET</a></b> <i>RouterOS</i> в форуме <a href="http://mikrotik.moscow/forum/forum57/">RouterOS</a>. <br />
			Привет, пытаюсь использовать библиотеку "Tik4Net", импортировал пространство имен, но выдаёт ошибку. "mks.Open" и "mks.Connector.ExecuteReader" не являются членами. Странно. Нужна ваша помощь. Спасибо! <br />
			<i>03.02.2014 15:51:00, Bourbon.</i>]]></description>
			<link>http://mikrotik.moscow/forum/forum57/57647-api-v-vb.net/message217318</link>
			<guid>http://mikrotik.moscow/forum/forum57/57647-api-v-vb.net/message217318</guid>
			<pubDate>Mon, 03 Feb 2014 15:51:00 -0500</pubDate>
			<category>RouterOS</category>
		</item>
		<item>
			<title>API в VB.NET</title>
			<description><![CDATA[<b><a href="http://mikrotik.moscow/forum/forum57/57647-api-v-vb.net/message217317">API в VB.NET</a></b> <i>RouterOS</i> в форуме <a href="http://mikrotik.moscow/forum/forum57/">RouterOS</a>. <br />
			Ты скачиваешь архив с сайта и распаковываешь его куда угодно на своем компьютере. В Visual Studio кликаешь правой кнопкой мыши по проекту и выбираешь "Добавить ссылку…". Выбираешь "Обзор", находишь DLL из только что распакованного архива, и, по сути, это всё. Можешь импортировать пространства имен Tik4Net ИЛИ можешь просто вручную писать "Tik4Net." перед названием каждого класса из этого пространства имен. <br />
			<i>19.12.2013 13:39:00, boen_robot.</i>]]></description>
			<link>http://mikrotik.moscow/forum/forum57/57647-api-v-vb.net/message217317</link>
			<guid>http://mikrotik.moscow/forum/forum57/57647-api-v-vb.net/message217317</guid>
			<pubDate>Thu, 19 Dec 2013 13:39:00 -0500</pubDate>
			<category>RouterOS</category>
		</item>
		<item>
			<title>API в VB.NET</title>
			<description><![CDATA[<b><a href="http://mikrotik.moscow/forum/forum57/57647-api-v-vb.net/message217316">API в VB.NET</a></b> <i>RouterOS</i> в форуме <a href="http://mikrotik.moscow/forum/forum57/">RouterOS</a>. <br />
			Спасибо за ответ. Ок, переключу клиента. Я модифицирую свой код с использованием вашего, но (TikConnectorType.api, ITikEntityRow и ExecuteReaderBehaviors) недоступны… Я использую VB express 2010. Нужно ли мне менять софт? Или нужно добавить библиотеку в проект? Я читал сайт mikrotik4net и не нашёл там ответа… Спасибо за помощь. <br />
			<i>19.12.2013 08:00:00, Bourbon.</i>]]></description>
			<link>http://mikrotik.moscow/forum/forum57/57647-api-v-vb.net/message217316</link>
			<guid>http://mikrotik.moscow/forum/forum57/57647-api-v-vb.net/message217316</guid>
			<pubDate>Thu, 19 Dec 2013 08:00:00 -0500</pubDate>
			<category>RouterOS</category>
		</item>
		<item>
			<title>API в VB.NET</title>
			<description><![CDATA[<b><a href="http://mikrotik.moscow/forum/forum57/57647-api-v-vb.net/message217315">API в VB.NET</a></b> <i>RouterOS</i> в форуме <a href="http://mikrotik.moscow/forum/forum57/">RouterOS</a>. <br />
			Быть новичком кажется идеальной причиной сменить клиентов, пока ты ещё не привык к одному. С упомянутым клиентом можно сделать так: Private Sub bt_ejecutar_Click(sender As Object, e As EventArgs) Handles bt_ejecutar.Click<br /><br /> &nbsp; &nbsp; &nbsp; &nbsp;Dim mks = New TikSession(TikConnectorType.Api)<br /> &nbsp; &nbsp; &nbsp; &nbsp;Try<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;mks.Open(tb_ip.Text, user.Text, pass.Text)<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;view.Text = "Connecté"<br /> &nbsp; &nbsp; &nbsp; &nbsp;Catch ex As Exception<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;view.Text = "Erreur"<br /> &nbsp; &nbsp; &nbsp; &nbsp;End Try<br /><br /> &nbsp; &nbsp; &nbsp; &nbsp;For Each item As ITikEntityRow In mks.Connector.ExecuteReader(<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;"/ip/address",<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ExecuteReaderBehaviors.None,<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;New List(Of String) From {"address"}<br /> &nbsp; &nbsp; &nbsp; &nbsp;)<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;TextBox1.Text &= item.GetStringValueOrNull("address", True)<br /> &nbsp; &nbsp; &nbsp; &nbsp;Next<br /> &nbsp; &nbsp;End Sub <br />
			<i>18.12.2013 11:25:00, boen_robot.</i>]]></description>
			<link>http://mikrotik.moscow/forum/forum57/57647-api-v-vb.net/message217315</link>
			<guid>http://mikrotik.moscow/forum/forum57/57647-api-v-vb.net/message217315</guid>
			<pubDate>Wed, 18 Dec 2013 11:25:00 -0500</pubDate>
			<category>RouterOS</category>
		</item>
		<item>
			<title>API в VB.NET</title>
			<description><![CDATA[<b><a href="http://mikrotik.moscow/forum/forum57/57647-api-v-vb.net/message217314">API в VB.NET</a></b> <i>RouterOS</i> в форуме <a href="http://mikrotik.moscow/forum/forum57/">RouterOS</a>. <br />
			Спасибо за ответ. Хочу выводить в моем текстовом поле только IP-адрес (192.168.10.70) и убрать "!re=address=/24!done". Я не знаю функций на VB… Я новичок. Какая функция мне нужна? Хочу оставить строку после address= и перед /24. Спасибо за вашу помощь. <br />
			<i>18.12.2013 07:38:00, Bourbon.</i>]]></description>
			<link>http://mikrotik.moscow/forum/forum57/57647-api-v-vb.net/message217314</link>
			<guid>http://mikrotik.moscow/forum/forum57/57647-api-v-vb.net/message217314</guid>
			<pubDate>Wed, 18 Dec 2013 07:38:00 -0500</pubDate>
			<category>RouterOS</category>
		</item>
		<item>
			<title>API в VB.NET</title>
			<description><![CDATA[<b><a href="http://mikrotik.moscow/forum/forum57/57647-api-v-vb.net/message217313">API в VB.NET</a></b> <i>RouterOS</i> в форуме <a href="http://mikrotik.moscow/forum/forum57/">RouterOS</a>. <br />
			Но… ты уже это сделал. Вся остальная информация в выводе — это просто протокольное требование. Чтобы избавиться от нее, просто… для каждого слова проверяй, начинается ли оно с "=address=", и если да, то получай строку после "=address=". Посмотри функции строк. Или используй другой .NET клиент, который сделает это более удобным, например, вот этот, возможно. <br />
			<i>17.12.2013 16:26:00, boen_robot.</i>]]></description>
			<link>http://mikrotik.moscow/forum/forum57/57647-api-v-vb.net/message217313</link>
			<guid>http://mikrotik.moscow/forum/forum57/57647-api-v-vb.net/message217313</guid>
			<pubDate>Tue, 17 Dec 2013 16:26:00 -0500</pubDate>
			<category>RouterOS</category>
		</item>
		<item>
			<title>API в VB.NET</title>
			<description><![CDATA[<b><a href="http://mikrotik.moscow/forum/forum57/57647-api-v-vb.net/message217312">API в VB.NET</a></b> <i>RouterOS</i> в форуме <a href="http://mikrotik.moscow/forum/forum57/">RouterOS</a>. <br />
			Привет всем! Нужна ваша помощь в решении моей проблемы. Мой код:<br /><br />Private Sub bt_ejecutar_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles bt_ejecutar.Click<br />Dim mk = New mkAPI(tb_ip.Text)<br />If Not mk.Login(user.Text, pass.Text) Then<br />mk.Close()<br />view.Text = “Erreur”<br />Exit Sub<br />End If<br />view.Text = “Connecté”<br />mk.Send(“/ip/address/getall”, False)<br />mk.Send(“=.proplist=address”, True)<br />For Each h As String In mk.Read()<br />TextBox1.Text &= h<br />Next<br />End Sub<br /><br />Ответ маршрутизатора Routerboard: !re=address=192.168.10.70/24!done<br /><br />Хочу убрать все параметры и оставить только IP-адрес. Какое решение, пожалуйста?<br /><br />Спасибо. <br />
			<i>17.12.2013 15:48:00, Bourbon.</i>]]></description>
			<link>http://mikrotik.moscow/forum/forum57/57647-api-v-vb.net/message217312</link>
			<guid>http://mikrotik.moscow/forum/forum57/57647-api-v-vb.net/message217312</guid>
			<pubDate>Tue, 17 Dec 2013 15:48:00 -0500</pubDate>
			<category>RouterOS</category>
		</item>
	</channel>
</rss>
