Dart.Snmp Namespace > Devices Class > UpdateSnmpStatus Method : UpdateSnmpStatus(List<Device>,IPEndPoint,Boolean,Int32,X509Certificate2Collection) Method |
Public Overloads Function UpdateSnmpStatus( _ ByVal devices As List(Of Device), _ ByVal localEP As IPEndPoint, _ ByVal dualMode As Boolean, _ ByVal timeout As Integer, _ ByVal clientCertificateChain As X509Certificate2Collection _ ) As List(Of Device)
Dim instance As Devices Dim devices As List(Of Device) Dim localEP As IPEndPoint Dim dualMode As Boolean Dim timeout As Integer Dim clientCertificateChain As X509Certificate2Collection Dim value As List(Of Device) value = instance.UpdateSnmpStatus(devices, localEP, dualMode, timeout, clientCertificateChain)
public List<Device> UpdateSnmpStatus( List<Device> devices, IPEndPoint localEP, bool dualMode, int timeout, X509Certificate2Collection clientCertificateChain )
public: List<Device*>* UpdateSnmpStatus( List<Device*>* devices, IPEndPoint* localEP, bool dualMode, int timeout, X509Certificate2Collection* clientCertificateChain )
public: List<Device^>^ UpdateSnmpStatus( List<Device^>^ devices, IPEndPoint^ localEP, bool dualMode, int timeout, X509Certificate2Collection^ clientCertificateChain )
If localEP.AddressFamily does not match Device.Endpoint.Address.AddressFamily, or if Transport is DTLS but no clientCertificateChain is provided, Device.SnmpStatus is set to DeviceStatus.InvalidInterface.
If Aborted before all devices are queried, the returned list will only be updated up to the most recent queried Device.
All Agent certificates are accepted regardless of validity.
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.