The UdpTarget type exposes the following members.

Constructors

  NameDescription
UdpTargetOverloaded.

Methods

  NameDescription
Close
Dispose of the class. Call this function to close the socket.
(Inherited from UdpTransport.)
Discovery
Perform SNMP version 3 discovery operation. This is the first operation that needs to be performed on a newly accessed agent to retrieve agentId, agentBoots and agentTime values, critical for further authentication and privacy operations.
DiscoveryAsync
Make an async discovery request for protocol version 3.
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
FieldGetter (Inherited from Object.)
FieldSetter (Inherited from Object.)
Finalize
Destructor
(Inherited from UdpTransport.)
GetFieldInfo (Inherited from Object.)
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
RequestOverloaded.
RequestAsync
Make SNMP request. With this method you can make blocked SNMP version 1, 2 and 3 requests of type GET, GET-NEXT, GET-BULK, SET and REPORT (request types have to compatible with the SNMP protocol version you are using). This method will pass through any exceptions thrown by parsing classes/methods so see individual packet classes, ASN.1 type classes, authentication, privacy, etc. classes for exceptions thrown.
ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Fields

  NameDescription
_address
SNMP request target host IP address
_agentParameters
Internal storage of the agent parameters information passed to the async request member function.
_port
SNMP target UDP port number
_retry
Maximum number of retries. Value of 0 (zero) will result in a single request without retries.
_socket
Socket
(Inherited from UdpTransport.)
_timeout
SNMP request timeout value in milliseconds

Properties

  NameDescription
Address
Get/Set Udp agent IP address
IsBusy
Is class busy. This property is true when class is servicing another request, false if ready to process a new request.
(Inherited from UdpTransport.)
Port
Get/Set Udp agent port number
Retry
Get/Set Udp agent maximum retry value. Value of 0 (zero) will result in a single request being sent without further retry attempts.
Timeout
Get/Set Udp agent timeout value in milliseconds

Events

  NameDescription
_response
Internal event to send result of the async request to.

See Also