Dart.Snmp Namespace > Devices Class > GetDevicesFromARPTables Method : GetDevicesFromARPTables(SnmpVersion,String,Security,Int32,IPEndPoint,IPEndPoint,Boolean) Method |
Public Overloads Function GetDevicesFromARPTables( _ ByVal version As SnmpVersion, _ ByVal community As String, _ ByVal security As Security, _ ByVal timeout As Integer, _ ByVal target As IPEndPoint, _ ByVal localEP As IPEndPoint, _ ByVal dualMode As Boolean _ ) As List(Of Device)
Dim instance As Devices Dim version As SnmpVersion Dim community As String Dim security As Security Dim timeout As Integer Dim target As IPEndPoint Dim localEP As IPEndPoint Dim dualMode As Boolean Dim value As List(Of Device) value = instance.GetDevicesFromARPTables(version, community, security, timeout, target, localEP, dualMode)
public List<Device> GetDevicesFromARPTables( SnmpVersion version, string community, Security security, int timeout, IPEndPoint target, IPEndPoint localEP, bool dualMode )
public: List<Device*>* GetDevicesFromARPTables( SnmpVersion version, string* community, Security* security, int timeout, IPEndPoint* target, IPEndPoint* localEP, bool dualMode )
public: List<Device^>^ GetDevicesFromARPTables( SnmpVersion version, String^ community, Security^ security, int timeout, IPEndPoint^ target, IPEndPoint^ localEP, bool dualMode )
Queries atTable, ipNetToMediaTable, and ipNetToPhysicalTable to retrieve ARP table IP addresses. Does not check if the IPs listed in the tables respond to pings or SNMP GET messages.
Uses GetNext for SnmpVersion.One, uses GetBulk otherwise.
If Aborted before all three tables are queried, returns an empty list.
localEP.AddressFamily must match the AddressFamily of the target SNMP entity unless dualMode is true and localEP.Address is IPAddress.IPv6Any or an IPv4-mapped IPv6 address. If dual mode (simultaneous IPv4 and IPv6) socket operation is desired, use IPAddress.IPv6Any (for all IPv4 and IPv6 interfaces) or an IPv4-mapped IPv6 address for the localEP address, and true for the dualMode argument. An IPv4-mapped IPv6 address is the IPv4 address of a network interface preceded by "::ffff:". Ex: ::ffff:192.168.1.1.