InternetProtocol version 4 User Datagram Protocol (IP/UDP) transport protocol implementation for use with SNMP versions 1, 2 and 3. See example programs included for usage samples.

Namespace:  SnmpSharpNet
Assembly:  SnmpSharpNet (in SnmpSharpNet.dll) Version: 0.5.0.0 (0.5.0.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public class UdpTarget : UdpTransport
Public Class UdpTarget _
	Inherits UdpTransport
public ref class UdpTarget : public UdpTransport

Members

            
 All Members  Constructors   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
UdpTarget(IPAddress, Int32, Int32, Int32)
Constructor.
Address
Get/Set Udp agent IP address
Close()()()
Dispose of the class. Call this function to close the socket.
(Inherited from UdpTransport.)
Discovery(SecureAgentParameters)
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(SecureAgentParameters, SnmpAsyncResponse)
Make an async discovery request for protocol version 3.
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(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.)
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
Request(Pdu, IAgentParameters)
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.
Request(IPAddress, Int32, array<Byte>[]()[], Int32, Int32, Int32)
Make sync request using IP/UDP with request timeouts and retries.
(Inherited from UdpTransport.)
RequestAsync(Pdu, IAgentParameters, SnmpAsyncResponse)
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.
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
ToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)

Inheritance Hierarchy

System..::.Object
  SnmpSharpNet..::.UdpTransport
    SnmpSharpNet..::.UdpTarget

See Also