[SOLVED] API .NET Failed when add ip binding

Hello guys.. I am new in mikrotik API, i have a difficulty to add IP-BINDING in .NET

my script example like this :
/ip/hotspot/ip-binding/add=comment=test=disabled=no=type=bypassed=mac-address=AA:AA:AA:AA:AA:AA

but it return error, i’ve searched on mikrotik API wiki’s but found nothing like that,

i don’t know where is the problem, it’s kinda frustrating me.. please help.. :frowning:

I don’t know the routine that sends the request, but if it is “send”, and “true” means “end of request”, then:

send("/ip/hotspot/ip-binding/add");
send("=comment=test");
send("=disabled=no");
send("=type=bypassed");
send("=mac-address=AA:AA:AA:AA:AA:AA",true);

Man.. you are awesomeeeeee…!

Thanks a lot my friend, my problem has been solved.. :smiley: