Mikrotik API
Posted: Mon Sep 07, 2015 11:48 am
Hi everyone,
i wanna run this mikrotik script
" :foreach i in=[/tool user-manager session find ] do {/tool user-manager session remove $i;} " into c# with api
i got this error
[0]: "!trap=category=0=message=no such command or directory (foreach i in=[)"
[1]: "!trap=message=no such command prefix"
[2]: "!done"
i wanna run this mikrotik script
" :foreach i in=[/tool user-manager session find ] do {/tool user-manager session remove $i;} " into c# with api
i got this error
[0]: "!trap=category=0=message=no such command or directory (foreach i in=[)"
[1]: "!trap=message=no such command prefix"
[2]: "!done"