PowerSNMP for .NET
SnmpBase Class Members
Fields  Properties  Methods  Events


The following tables list the members exposed by SnmpBase.

Public Fields
 NameDescription
Public FieldMib Gets the MibNodes object containing MIB definitions.  
Public FieldSecurity Security configuration for SNMPv3 entities.  
Top
Public Properties
 NameDescription
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.  
Public PropertyContainer (Inherited from System.ComponentModel.Component)
Public PropertyDTLSReceiveTimeout Specifies the timeout to be used when receiving DTLS packets. Defaults to 1000.  
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.  
Public PropertyIsActive Gets a value indicating if the component has an active socket.  
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.  
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 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.  
Public PropertyValidationCallback Delegate that is raised when a certificate is received from the remote host.  
Top
Protected Properties
Public Methods
 NameDescription
Public MethodClose Terminates Agent or Trap operation by releasing communication resources.  
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.  
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.  
Public MethodOpenOverloaded. Opens System.Net.Sockets.Socket using the specified IPEndPoint. Only necessary if Receive is used.  
Public MethodReceive Used to receive an SNMP message on the current thread.  
Public MethodSend Send a message to the SNMP manager or agent specified.  
Public MethodStartOverloaded.  Starts a worker thread on which the specified user method executes.  
Public MethodToString (Inherited from System.ComponentModel.Component)
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 MethodOnLogRaises the Log event.  
Protected MethodOnMessageRaises the Message event.  
Protected MethodOnUserStateRaises the 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).  
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 EventLog Used to log SNMP messages sent or received.  
Public EventMessageRaised when Marshal(MessageBase[],String,Object) is used.  
Public EventUserStateRaised when Marshal(String,Object) is used. (Inherited from Dart.Snmp.ComponentBase)
Top
See Also

Reference

SnmpBase 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