The UdpTarget type exposes the following members.


Public methodUdpTarget(IPAddress)
Public methodUdpTarget(IPAddress, Int32, Int32, Int32)


Public methodClose
Close network socket
(Inherited from UdpTransport.)
Public methodDiscovery
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.
Public methodDiscoveryAsync
Make an async discovery request for protocol version 3.
Public methodDispose
Dispose of the class.
(Inherited from UdpTransport.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
(Inherited from UdpTransport.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodinitSocket
Initialize class socket
(Inherited from UdpTransport.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRequest(Pdu, IAgentParameters)
Make SNMP Request
Public methodRequest(IPAddress, Int32, array<Byte>[]()[][], Int32, Int32, Int32)
Make sync request using IP/UDP with request timeouts and retries.
(Inherited from UdpTransport.)
Public methodRequestAsync
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.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)


Protected field_address
SNMP request target host IP address
Protected field_agentParameters
Internal storage of the agent parameters information passed to the async request member function.
Protected field_isIPv6
Flag showing if class is using IPv6 or IPv4
(Inherited from UdpTransport.)
Protected field_noSourceCheck
Internal variable used to disable host IP address/port number check on received SNMP reply packets. If this option is disabled (default) only replies from the IP address/port number combination to which the request was sent will be accepted as valid packets. This value is set in the AgentParameters class and is only valid for SNMP v1 and v2c requests.
(Inherited from UdpTransport.)
Protected field_port
SNMP target UDP port number
Protected field_retry
Maximum number of retries. Value of 0 (zero) will result in a single request without retries.
Protected field_socket
(Inherited from UdpTransport.)
Protected field_timeout
SNMP request timeout value in milliseconds


Public propertyAddress
Get/Set Udp agent IP address
Public propertyIsBusy
Is class busy. This property is true when class is servicing another request, false if ready to process a new request.
(Inherited from UdpTransport.)
Public propertyIsIPv6
Flag used to determine if class is using IP version 6 (true) or IP version 4 (false)
(Inherited from UdpTransport.)
Public propertyPort
Get/Set Udp agent port number
Public propertyRetry
Get/Set Udp agent maximum retry value. Value of 0 (zero) will result in a single request being sent without further retry attempts.
Public propertyTimeout
Get/Set Udp agent timeout value in milliseconds


Protected event_response
Internal event to send result of the async request to.

See Also