MikrotikDotNet icon indicating copy to clipboard operation
MikrotikDotNet copied to clipboard

Send SMS trouble

Open b-point opened this issue 1 year ago • 0 comments

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) == "!done") to if(o.StartWith("!done")) because i get back !ri < cant use Substring(0,5) index is over

now works it nice.

b-point avatar Sep 08 '23 10:09 b-point