c# API trap message

I am using the C# api code from the wiki, and attempting to do a dyndns update, however I get the following error:

!trap=category=4=message=replay not signed

Is this a problem with the code in the wiki or perhaps something i’m doing wrong?

 mikrotik.Send("/tool/dns-update");
            mikrotik.Send("=dns-server=xx.xx.xx.xx");
            mikrotik.Send("=name=" + name);
            mikrotik.Send("=zone=xxx-jp.com");
            mikrotik.Send("=ttl=60");
            mikrotik.Send("=address=" + this.textBoxIPAddress.Text);
            mikrotik.Send("=key-name=" + key, true);

both name and key are set properly.

Thanks in advance

did you try to execute that command in CLI?.. via telminal or ssh…

I am running that exactsame command via a php script right now. That is why this is so frustrating.