Dart.Snmp Namespace > Devices Class > DiscoverSnmp Method : DiscoverSnmp(SnmpVersion,String,IPAddress,IPAddress,Int32,Transport,X509Certificate2Collection) Method |
Public Overloads Function DiscoverSnmp( _ ByVal version As SnmpVersion, _ ByVal community As String, _ ByVal lowIP As IPAddress, _ ByVal highIP As IPAddress, _ 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 lowIP As IPAddress Dim highIP As IPAddress Dim timeout As Integer Dim transport As Transport Dim clientCertificateChain As X509Certificate2Collection Dim value As List(Of Device) value = instance.DiscoverSnmp(version, community, lowIP, highIP, timeout, transport, clientCertificateChain)
public List<Device> DiscoverSnmp( SnmpVersion version, string community, IPAddress lowIP, IPAddress highIP, int timeout, Transport transport, X509Certificate2Collection clientCertificateChain )
public: List<Device*>* DiscoverSnmp( SnmpVersion version, string* community, IPAddress* lowIP, IPAddress* highIP, int timeout, Transport transport, X509Certificate2Collection* clientCertificateChain )
public: List<Device^>^ DiscoverSnmp( SnmpVersion version, String^ community, IPAddress^ lowIP, IPAddress^ highIP, int timeout, Transport transport, X509Certificate2Collection^ clientCertificateChain )
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.