Problem with API

Dears,

I’m using Mikrotik API with VB.NET. I’m trying this command but ever receive error.

myCon.Send(“/ip/firewall/nat/add”)
myCon.Send(“=chain=dstnat”)
myCon.Send(“=action=dst-nat”)
myCon.Send(“=protocol=tcp”)
myCon.Send(“=to-addresses=192.168.2.2”)
myCon.Send(“=to-ports=8081”)
myCon.Send(“=src-address=192.168.1.150”)
myCon.Send(“=dst-address=0.0.0.0/0”)
myCon.Send(“=dst-port=0-65535”)
myCon.Send(“=comment=Test Test Test”, True)

The error message is “invalid value for argument range”, this message is about dst-port, when i change dst-port command to “=dst-port=0”, works fine.
I suspect that this error is about “-” in this parameter.

Any can help-me ?

Sorry for my bad english.

Marco A. V. Silva