SendGetRequest Method
Send GetRequest packet.
Syntax
int SendGetRequest();
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()