PowerSNMP for .NET
DiscoverPing(String,Int32) Method




IP address range to discover devices across.
The amount of time (in milliseconds) each ping operation will be given to receive a response.
Discovers Devices that respond to a ping within ipAddressRange.
Syntax
Public Overloads Function DiscoverPing( _
   ByVal ipAddressRange As String, _
   ByVal timeout As Integer _
) As List(Of Device)
Dim instance As Devices
Dim ipAddressRange As String
Dim timeout As Integer
Dim value As List(Of Device)
 
value = instance.DiscoverPing(ipAddressRange, timeout)
public List<Device> DiscoverPing( 
   string ipAddressRange,
   int timeout
)
public: List<Device*>* DiscoverPing( 
   string* ipAddressRange,
   int timeout
) 
public:
List<Device^>^ DiscoverPing( 
   String^ ipAddressRange,
   int timeout
) 

Parameters

ipAddressRange
IP address range to discover devices across.
timeout
The amount of time (in milliseconds) each ping operation will be given to receive a response.

Return Value

A list of Devices that responded to a ping.
Remarks

ipAddressRange supports formats such as: "192.168.0.0/24", "192.168.0.0/255.255.255.0", "192.168.0.0-192.168.0.10", "192.168.0.0-10", and IPv6.

If Abort() is called, this method returns all devices previously discovered by the method.

The port of the endpoint of the returned devices will be set to the standard SNMP Agent port (161) by default.

See Also

Reference

Devices Class
Devices Members
Overload List


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