Reputation: 11
I get exception when doing snmp get.
Here is the Wireshark dump of the packet that gives the exception:
Lextm.SharpSnmpLib.SnmpException: data construction exception ---> System.ArgumentException: Truncation error for 32-bit integer coding. Parameter name: length
Upvotes: 0
Views: 619
Reputation: 11
I found the problem I was sending too big requestID or negative requestID which are not supported by some devices!
Use this option to disable negative request ID
Messenger.UseFullRange = false;
Upvotes: 1