Click or drag to resize

MessengerWalk Method

Walks (based on GET NEXT).

Namespace: GSF.Net.Snmp.Messaging
Assembly: GSF.Net (in GSF.Net.dll) Version: 2.4.205-beta
Syntax
public static int Walk(
	VersionCode version,
	IPEndPoint endpoint,
	OctetString community,
	ObjectIdentifier table,
	IList<Variable> list,
	int timeout,
	WalkMode mode
)
View Source

Parameters

version  VersionCode
Protocol version.
endpoint  IPEndPoint
Endpoint.
community  OctetString
Community name.
table  ObjectIdentifier
OID.
list  IListVariable
A list to hold the results.
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.
mode  WalkMode
Walk mode.

Return Value

Int32
Returns row count if the OID is a table. Otherwise this value is meaningless.
Remarks
This method supports SNMP v1 and v2c.
See Also