The AgentParameters type exposes the following members.

Constructors

  NameDescription
Public methodAgentParameters()()()()
Standard constructor
Public methodAgentParameters(AgentParameters)
Copy constructor. Initialize the class with the values of the parameter class values.
Public methodAgentParameters(OctetString)
Constructor
Public methodAgentParameters(SnmpVersion)
Constructor
Public methodAgentParameters(SnmpVersion, OctetString)
Constructor
Public methodAgentParameters(SnmpVersion, OctetString, Boolean)
Constructor

Methods

  NameDescription
Public methodClone
Clone current object
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
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.)
Public methodGetVersion
Return SNMP version Integer32 object
Public methodInitializePacket
Initialize SNMP packet class with agent parameters. In this class, SNMP community name is set in SNMPv1 and SNMPv2 packets.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodValid
Validate object.

Fields

  NameDescription
Protected field_community
SNMP community name for SNMP v1 and v2 protocol versions
Protected field_disableReplySourceCheck
Flag that disables checking of host IP address and port number from which reply is received. If not disabled, only replies from the host IP/port to which request was sent will be considered valid and all others will be ignored. Default value is: false (reply source check is enabled) Set to true if you wish to disable this check.
Protected field_version
Agent protocol version

Properties

  NameDescription
Public propertyCommunity
Get SNMP version 1 or 2 community name object
Public propertyDisableReplySourceCheck
Get/Set flag that disables checking of host IP address and port number from which reply is received. If not disabled, only replies from the host IP/port to which request was sent will be considered valid and all others will be ignored.
Public propertyVersion
Get/Set SNMP protocol version.

See Also