Dart.Snmp Namespace > Devices Class > GetDevicesFromARPTables Method : GetDevicesFromARPTables(SnmpVersion,String,Security,Int32,IPEndPoint) 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 _ ) 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 value As List(Of Device) value = instance.GetDevicesFromARPTables(version, community, security, timeout, target)
public List<Device> GetDevicesFromARPTables( SnmpVersion version, string community, Security security, int timeout, IPEndPoint target )
public: List<Device*>* GetDevicesFromARPTables( SnmpVersion version, string* community, Security* security, int timeout, IPEndPoint* target )
public: List<Device^>^ GetDevicesFromARPTables( SnmpVersion version, String^ community, Security^ security, int timeout, IPEndPoint^ target )
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.
Uses an IPv6 dual-mode socket. Requires a Vista or newer operating system.
If Aborted before all three tables are queried, returns an empty list.