I am trying to use #SNMP to set the value of an object identifier to 1 or 0.
Here is an example of the code that I am using:
var result = Messenger.Set(VersionCode.V1,new IPEndPoint(IPAddress.Parse(IPAddress), SNMPPortNo),new OctetString("public"),new List<Variable>{new Variable(new ObjectIdentifier("1.3.6.1.4.1.1206.4.2.1.6.3.1.2.1"),new OctetString("1"))}, 60000);
I keep getting an exception with a message "error in response"