PowerSNMP for .NET
Walk(String,SnmpVersion,String,Security,IPEndPoint,Int32,Int32) Method




The root OID.
SnmpVersion to use (must be SnmpVersion.Two or SnmpVersion.Three).
Community string to use. "public" is a typical value.
Security parameters for SnmpVersion.Three. Can be null.
The IPEndPoint of the agent.
The number of times to retry a request if it times out waiting for the response.
The max-repetitions value for each GetBulk request sent.
Performs one or more blocking GetBulk requests to walk a mib.
Syntax
Public Overloads Function Walk( _
   ByVal rootOid As String, _
   ByVal version As SnmpVersion, _
   ByVal community As String, _
   ByVal security As Security, _
   ByVal agentEP As IPEndPoint, _
   ByVal retries As Integer, _
   ByVal maxRepetitions As Integer _
) As VariableList
Dim instance As SnmpSocket
Dim rootOid As String
Dim version As SnmpVersion
Dim community As String
Dim security As Security
Dim agentEP As IPEndPoint
Dim retries As Integer
Dim maxRepetitions As Integer
Dim value As VariableList
 
value = instance.Walk(rootOid, version, community, security, agentEP, retries, maxRepetitions)

Parameters

rootOid
The root OID.
version
SnmpVersion to use (must be SnmpVersion.Two or SnmpVersion.Three).
community
Community string to use. "public" is a typical value.
security
Security parameters for SnmpVersion.Three. Can be null.
agentEP
The IPEndPoint of the agent.
retries
The number of times to retry a request if it times out waiting for the response.
maxRepetitions
The max-repetitions value for each GetBulk request sent.

Return Value

A List of variables under rootOid.
Remarks

This method walks the MIB by sending one or more GetBulkMessage requests until the table is complete. Returns after the complete subtree has been retrieved or any single request exceeds the value of the Socket.ReceiveTimeout property. If retries is greater than 0, each retry must timeout before a timeout exception occurs. The time required to complete this request is a function of the number of available instance Id's (IID's) under the root oid.

See Also

Reference

SnmpSocket Class
SnmpSocket Members
Overload List


PowerSNMP for .NET Documentation Version 8.0
© 2024 Dart Communications. All Rights Reserved.
Send comments on this topic