Dart.Snmp Namespace > Devices Class > DiscoverSnmp Method : DiscoverSnmp(SnmpVersion,String,String,Int32,Transport,X509Certificate2Collection) Method |
Public Overloads Function DiscoverSnmp( _ ByVal version As SnmpVersion, _ ByVal community As String, _ ByVal ipAddressRange As String, _ ByVal timeout As Integer, _ ByVal transport As Transport, _ ByVal clientCertificateChain As X509Certificate2Collection _ ) As List(Of Device)
Dim instance As Devices Dim version As SnmpVersion Dim community As String Dim ipAddressRange As String Dim timeout As Integer Dim transport As Transport Dim clientCertificateChain As X509Certificate2Collection Dim value As List(Of Device) value = instance.DiscoverSnmp(version, community, ipAddressRange, timeout, transport, clientCertificateChain)
public List<Device> DiscoverSnmp( SnmpVersion version, string community, string ipAddressRange, int timeout, Transport transport, X509Certificate2Collection clientCertificateChain )
public: List<Device*>* DiscoverSnmp( SnmpVersion version, string* community, string* ipAddressRange, int timeout, Transport transport, X509Certificate2Collection* clientCertificateChain )
public: List<Device^>^ DiscoverSnmp( SnmpVersion version, String^ community, String^ ipAddressRange, int timeout, Transport transport, X509Certificate2Collection^ clientCertificateChain )
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.
Agents on non-standard ports may be added to the list manually.
If Abort() is called, this method returns all devices previously discovered by the method.
All Agent certificates are accepted regardless of validity.