<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title>Mikrotik.moscow [тема: Как отключить пользователя через C# API?]</title>
		<link>http://mikrotik.moscow</link>
		<description>Новое в теме Как отключить пользователя через C# API? форума RouterOS на сайте Mikrotik.moscow [mikrotik.moscow]</description>
		<language>ru</language>
		<docs>http://backend.userland.com/rss2</docs>
		<pubDate>Mon, 17 Aug 2026 06:21:54 -0400</pubDate>
		<item>
			<title>Как отключить пользователя через C# API?</title>
			<description><![CDATA[<b><a href="http://mikrotik.moscow/forum/forum57/57048-kak-otklyuchit-polzovatelya-cherez-c_-api/message214701">Как отключить пользователя через C# API?</a></b> <i>RouterOS</i> в форуме <a href="http://mikrotik.moscow/forum/forum57/">RouterOS</a>. <br />
			API протокол не поддерживает работу с числами. Нужно указывать ID нужного элемента, чтобы отключить его. Чтобы узнать ID, сделай запрос "print" (он будет указан как значение свойства ".id"). <br />
			<i>16.12.2013 14:43:00, boen_robot.</i>]]></description>
			<link>http://mikrotik.moscow/forum/forum57/57048-kak-otklyuchit-polzovatelya-cherez-c_-api/message214701</link>
			<guid>http://mikrotik.moscow/forum/forum57/57048-kak-otklyuchit-polzovatelya-cherez-c_-api/message214701</guid>
			<pubDate>Mon, 16 Dec 2013 14:43:00 -0500</pubDate>
			<category>RouterOS</category>
		</item>
		<item>
			<title>Как отключить пользователя через C# API?</title>
			<description><![CDATA[<b><a href="http://mikrotik.moscow/forum/forum57/57048-kak-otklyuchit-polzovatelya-cherez-c_-api/message214700">Как отключить пользователя через C# API?</a></b> <i>RouterOS</i> в форуме <a href="http://mikrotik.moscow/forum/forum57/">RouterOS</a>. <br />
			Привет, друзья! Когда я пытаюсь отправить команду на отключение аккаунтов пользователей через C# API, ничего не происходит. Вот мой код:<br />MK mikrotik = new MK("192.168.10.254");<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if (mikrotik.Login("admin", ""))<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;mikrotik.Send("/tool/user-manager/user/disable");<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;mikrotik.Send("=numbers=2");<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;mikrotik.Send(".tag=sss", true);<br /><br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;foreach (string h in mikrotik.Read())<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Console.WriteLine(h);<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Console.ReadKey(); <br />
			<i>16.12.2013 11:04:00, iman240.</i>]]></description>
			<link>http://mikrotik.moscow/forum/forum57/57048-kak-otklyuchit-polzovatelya-cherez-c_-api/message214700</link>
			<guid>http://mikrotik.moscow/forum/forum57/57048-kak-otklyuchit-polzovatelya-cherez-c_-api/message214700</guid>
			<pubDate>Mon, 16 Dec 2013 11:04:00 -0500</pubDate>
			<category>RouterOS</category>
		</item>
	</channel>
</rss>
