Click or drag to resize

MessengerGetTable Method

This method only works for a few scenarios. Might be replaced by new methods in the future. If it does not work for you, parse WALK result on your own.

Gets a table of variables.

Namespace: Lextm.SharpSnmpLib.Messaging
Assembly: SharpSnmpLib (in SharpSnmpLib.dll) Version: 12.5.7-2+Branch.master.Sha.2a75ece2c9d55c4f731f356d1512c8a5d19fa096.2a75ece2c9d55c4f731f356d1512c8a5d19fa096
Syntax
[ObsoleteAttribute("This method only works for a few scenarios. Might be replaced by new methods in the future. If it does not work for you, parse WALK result on your own.")]
public static Variable[,] GetTable(
	VersionCode version,
	IPEndPoint endpoint,
	OctetString community,
	ObjectIdentifier table,
	int timeout,
	int maxRepetitions
)

Parameters

version  VersionCode
Protocol version.
endpoint  IPEndPoint
Endpoint.
community  OctetString
Community name.
table  ObjectIdentifier
Table OID.
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.
maxRepetitions  Int32
The max repetitions.

Return Value

Variable
Remarks
This method supports SNMP v2c and v3.
See Also