PowerSNMP for .NET
Devices Class Members
Properties  Methods  Events


The following tables list the members exposed by Devices.

Public Constructors
 NameDescription
Public ConstructorDevices Constructor Used to discover SNMP Agents, or Devices that respond to a ping, or check their SNMP or ping status.  
Top
Public Properties
 NameDescription
Public PropertyContainer (Inherited from System.ComponentModel.Component)
Public PropertyEncoding Character encoding used by the component. (Inherited from Dart.Snmp.ComponentBase)
Public PropertySite (Inherited from System.ComponentModel.Component)
Public PropertySynchronizingObject Gets or sets the object used to marshal data to the UI thread (for raising events). (Inherited from Dart.Snmp.ComponentBase)
Public PropertySyncRoot Gets an object that is used to synchronize access to the upper layer protocol in use. (Inherited from Dart.Snmp.ComponentBase)
Public PropertyTag Gets or sets an object that stores any user data. (Inherited from Dart.Snmp.ComponentBase)
Top
Protected Properties
Public Methods
 NameDescription
Public MethodAbort Aborts any in-progress operation. May take up to the specified timeout for the relevant call to return.  
Public MethodCreateObjRefCreates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from System.MarshalByRefObject)
Public MethodDiscoverPingOverloaded. Discovers Devices that respond to a ping within ipAddressRange.  
Public MethodDiscoverSnmpOverloaded. Discovers SNMP Agents that respond to a GET message or initial SNMPv3 discovery within ipAddressRange on the default port 161, or 10161 when transport is UDP.  
Public MethodDisposeOverloaded.  (Inherited from System.ComponentModel.Component)
Public MethodGetDevicesFromARPTablesOverloaded. Gets target's ARP table(s) IP addresses via SNMP, and returns a list of Devices representing them.  
Public MethodGetLifetimeServiceRetrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from System.MarshalByRefObject)
Public MethodInitializeLifetimeServiceObtains a lifetime service object to control the lifetime policy for this instance. (Inherited from System.MarshalByRefObject)
Public MethodMarshalOverloaded.  Marshals a string and/or object to the UI thread and raises the UserState event. (Inherited from Dart.Snmp.ComponentBase)
Public MethodToString (Inherited from System.ComponentModel.Component)
Public MethodUpdatePingStatusOverloaded. Updates Device.PingStatus for each Device in devices.  
Public MethodUpdateSnmpStatusOverloaded. Updates Device.SnmpStatus for each Device in devices. Doesn't support DTLS.  
Top
Protected Methods
 NameDescription
Protected MethodFinalize (Inherited from System.ComponentModel.Component)
Protected MethodGetService (Inherited from System.ComponentModel.Component)
Protected MethodMemberwiseCloneOverloaded. Creates a shallow copy of the current System.MarshalByRefObject object. (Inherited from System.MarshalByRefObject)
Protected MethodOnErrorRaises the Error event. (Inherited from Dart.Snmp.ComponentBase)
Protected MethodOnUserStateRaises the UserState event. (Inherited from Dart.Snmp.ComponentBase)
Top
Public Events
 NameDescription
Public EventDisposed (Inherited from System.ComponentModel.Component)
Public EventErrorRaised when Marshal(Exception) is used or an unhandled Exception is thrown in a worker thread created using Start. (Inherited from Dart.Snmp.ComponentBase)
Public EventProgressRepeatedly raised while Agents or devices are updated or discovered.  
Public EventUserStateRaised when Marshal(String,Object) is used. (Inherited from Dart.Snmp.ComponentBase)
Top
See Also

Reference

Devices Class
Dart.Snmp Namespace

6.1.1.2
PowerSNMP for .NET Documentation Version 7.0
© 2023 Dart Communications. All Rights Reserved.
Send comments on this topic