IPWorks SNMP 2020 JavaScript Edition

Questions / Feedback?

SendGetRequest Method

Send GetRequest packet.

Syntax

async snmpmgr.sendGetRequest(): Promise<void>

Remarks

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

Example (Sending a GetRequest)


SNMPControl.RemoteHost = "MyAgent"
SNMPControl.ObjCount = 2
SNMPControl.ObjId(0) = "1.3.6.1.2.1.1.1.0"
SNMPControl.ObjId(1) = "1.3.6.1.2.1.1.2.0"
SNMPControl.SendGetRequest()

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