MikrotikDotNet icon indicating copy to clipboard operation
MikrotikDotNet copied to clipboard

Mikrotik C# API - MikrotikDotNet is a lightweight and easy to use ADO.NET like library for Mikrotik Api with extensibility and performance in mind.

Results 6 MikrotikDotNet issues
Sort by recently updated
recently updated
newest added

There's an unhandled exception when parsing the output of `ip firewall address-list print` if the result contains an entry that has an equal sign in the comment.

i try send SMS with this code: var cmd = conn.CreateCommand("tool sms send"); ... cmd.ExecuteNonQuery(); this i get Error in source (MKconnection.cs) i change in Read() this part > **if(o.Substring(0,5)...

Command : `var cmdDis = conn.CreateCommand("/ppp secret disable [find name=ABC]"); cmdDis.ExecuteNonQuery();` Result : no such command prefix'

... ``` conn.Open(); var cmd = conn.CreateCommand("ip firewall address-list print"); ``` Result (Raw api response): ``` !re=.id=*CC997=list=list1=address=192.168.1.1=creation-time=feb/13/2023 02:26:04=dynamic=false=dynamic=false=disabled=false=comment=aaa !re=.id=*CC998=list=list1=address=webaddress.com=creation-time=feb/13/2023 02:26:04=dynamic=false=dynamic=true=disabled=false=comment=bbb ``` we create class: ``` class AddressListItem { public string...

... ``` conn.Open(); var cmd = conn.CreateCommand("ip firewall address-list print"); ``` Result (Raw api response): ``` !re=.id=*CC997=list=list1=address=192.168.1.1=creation-time=feb/13/2023 02:26:04=dynamic=false=dynamic=false=disabled=false=comment=aaa !re=.id=*CC998=list=list1=address=192.168.1.0/24=creation-time=feb/13/2023 02:26:04=dynamic=false=dynamic=false=disabled=false=comment=bbb ``` And when we trying to ExecuteReaderDynamic(): ``` var result...

Can we connect to the router using MAC address? Let say I reset the configuration and the IP address is 0.0.0.0 Thank you!