PowerSNMP for .NET
Agent Class Members
Fields  Properties  Methods  Events

The following tables list the members exposed by Agent.

Public Constructors
Public ConstructorAgent ConstructorOverloaded.   
Public Fields
Public FieldDefaultPort The "well-known" default port for Agent operations; 161.  
Public FieldDTLSDefaultPort The "well-known" default port for DTLS Agent operations; 10161.  
Public FieldMib Gets the MibNodes object containing MIB definitions. (Inherited from Dart.Snmp.SnmpBase)
Public FieldSecurity Security configuration for SNMPv3 entities. (Inherited from Dart.Snmp.SnmpBase)
Public FieldVariablesA Variable list used by SnmpBase.CreateResponse.  
Public Properties
Public PropertyClientCertificateChain The certificate chain to use with DTLS connections when the SNMP Entity is acting as a DTLS client. Supports certificates with RSA or DSA keys. Null by default. (Inherited from Dart.Snmp.SnmpBase)
Public PropertyContainer (Inherited from System.ComponentModel.Component)
Public PropertyDTLSReceiveTimeout Specifies the timeout to be used when receiving DTLS packets. Defaults to 1000. (Inherited from Dart.Snmp.SnmpBase)
Public PropertyEncoding Character encoding used by the component. (Inherited from Dart.Snmp.ComponentBase)
Public PropertyFipsMode Determines whether or not the control only uses FIPS 140-2 compliant algorithms. (Inherited from Dart.Snmp.SnmpBase)
Public PropertyIsActive Gets a value indicating if the component has an active socket. (Inherited from Dart.Snmp.SnmpBase)
Public PropertyServerCertificateChain The certificate chain to use with DTLS connections when the SNMP Entity is acting as a DTLS server. Supports certificates with RSA or DSA keys. Null by default. (Inherited from Dart.Snmp.SnmpBase)
Public PropertySite (Inherited from System.ComponentModel.Component)
Public PropertySocket Gets the socket used by the component for communications. (Inherited from Dart.Snmp.SocketBase)
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 PropertySysUpTime Gets or sets the time since the agent was created, in hundredths of a second.  
Public PropertyTag Gets or sets an object that stores any user data. (Inherited from Dart.Snmp.ComponentBase)
Public PropertyTransport Specifies the Transport layer to use. Defaults to UDP. (Inherited from Dart.Snmp.SnmpBase)
Public PropertyValidationCallback Delegate that is raised when a certificate is received from the remote host. (Inherited from Dart.Snmp.SnmpBase)
Protected Properties
Public Methods
Public MethodClose Terminates Agent or Trap operation by releasing communication resources. (Inherited from Dart.Snmp.SnmpBase)
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 MethodCreateResponseCreates a ResponseMessage from the RequestMessage received. Supports SNMPv3 discovery packets by returning a ReportMessage that should be sent to the initiator. (Inherited from Dart.Snmp.SnmpBase)
Public MethodDisposeOverloaded.  Disposes of SocketBase and its associated resources. (Inherited from Dart.Snmp.SocketBase)
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 SNMP messages to the UI thread. (Inherited from Dart.Snmp.SnmpBase)
Public MethodOpenOverloaded. Opens System.Net.Sockets.Socket using the specified IPEndPoint. Only necessary if SnmpBase.Receive is used. (Inherited from Dart.Snmp.SnmpBase)
Public MethodReceive Used to receive an SNMP message on the current thread. (Inherited from Dart.Snmp.SnmpBase)
Public MethodSend Send a message to the SNMP manager or agent specified. (Inherited from Dart.Snmp.SnmpBase)
Public MethodStartOverloaded. Starts receiving SNMP requests asynchronously, invoking the specified callback method on an IO completion thread as each RequestMessage is received.  
Public MethodToString (Inherited from System.ComponentModel.Component)
Protected Methods
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 ComponentBase.Error event. (Inherited from Dart.Snmp.ComponentBase)
Protected MethodOnLogRaises the SnmpBase.Log event. (Inherited from Dart.Snmp.SnmpBase)
Protected MethodOnMessageRaises the SnmpBase.Message event. (Inherited from Dart.Snmp.SnmpBase)
Protected MethodOnUserStateRaises the ComponentBase.UserState event. (Inherited from Dart.Snmp.ComponentBase)
Protected MethodReadCompleted Unified receive of asynchronous packet is used by Agent (for requests) and Manager (for traps and informs). (Inherited from Dart.Snmp.SnmpBase)
Public Events
Public EventDisposed (Inherited from System.ComponentModel.Component)
Public EventErrorRaised when ComponentBase.Marshal is used or an unhandled Exception is thrown in a worker thread created using Start. (Inherited from Dart.Snmp.ComponentBase)
Public EventLog Used to log SNMP messages sent or received. (Inherited from Dart.Snmp.SnmpBase)
Public EventMessageRaised when SnmpBase.Marshal is used. (Inherited from Dart.Snmp.SnmpBase)
Public EventUserStateRaised when ComponentBase.Marshal is used. (Inherited from Dart.Snmp.ComponentBase)
See Also


Agent Class
Dart.Snmp Namespace

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