Click or drag to resize

MessengerWalkAsync(VersionCode, IPEndPoint, OctetString, ObjectIdentifier, IListVariable, WalkMode, CancellationToken) Method

Walks (based on GET NEXT).

Namespace: Lextm.SharpSnmpLib.Messaging
Assembly: SharpSnmpLib (in SharpSnmpLib.dll) Version: 12.5.7-2+Branch.master.Sha.2a75ece2c9d55c4f731f356d1512c8a5d19fa096.2a75ece2c9d55c4f731f356d1512c8a5d19fa096
Syntax
public static Task<int> WalkAsync(
	VersionCode version,
	IPEndPoint endpoint,
	OctetString community,
	ObjectIdentifier table,
	IList<Variable> list,
	WalkMode mode,
	CancellationToken token
)

Parameters

version  VersionCode
Protocol version.
endpoint  IPEndPoint
Endpoint.
community  OctetString
Community name.
table  ObjectIdentifier
OID.
list  IListVariable
A list to hold the results.
mode  WalkMode
Walk mode.
token  CancellationToken
The cancellation token.

Return Value

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