Click or drag to resize

MessengerGet Method

Gets a list of variable binds.

Namespace: Lextm.SharpSnmpLib.Messaging
Assembly: SharpSnmpLib (in SharpSnmpLib.dll) Version: 12.5.7-2+Branch.master.Sha.2a75ece2c9d55c4f731f356d1512c8a5d19fa096.2a75ece2c9d55c4f731f356d1512c8a5d19fa096
Syntax
public static IList<Variable> Get(
	VersionCode version,
	IPEndPoint endpoint,
	OctetString community,
	IList<Variable> variables,
	int timeout
)

Parameters

version  VersionCode
Protocol version.
endpoint  IPEndPoint
Endpoint.
community  OctetString
Community name.
variables  IListVariable
Variable binds.
timeout  Int32
The time-out value, in milliseconds. The default value is 0, which indicates an infinite time-out period. Specifying -1 also indicates an infinite time-out period.

Return Value

IListVariable
Remarks
This method supports SNMP v1 and v2c.
See Also