IPWorks SNMP 2020 Java Edition

Questions / Feedback?

SendSetRequest Method

Send Set Request packet.

Syntax

public void sendSetRequest();

Remarks

Sends a SetRequest packet. The object identifiers, types, and values for the request are taken from the Objects collection.

Example (Sending a SetRequest)


SNMPControl.RemoteHost = "MyAgent";
SNMPControl.Objects.Add(New SNMPObject("1.3.6.1.2.1.1.1.0"));
SNMPControl.Objects[0].Value = "New Value";
SNMPControl.Objects[0].ObjectType = SNMPObjectTypes.otOctetString);
SNMPControl.SendSetRequest();

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks SNMP 2020 Java Edition - Version 20.0 [Build 8202]