The AgentParameters type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| AgentParameters()()()() |
Standard constructor
| |
| AgentParameters(AgentParameters) |
Copy constructor. Initialize the class with the values of the parameter class values.
| |
| AgentParameters(OctetString) |
Constructor
| |
| AgentParameters(SnmpVersion) |
Constructor
| |
| AgentParameters(SnmpVersion, OctetString) |
Constructor
| |
| AgentParameters(SnmpVersion, OctetString, Boolean) |
Constructor
|
Methods
| Name | Description | |
|---|---|---|
| Clone |
Clone current object
| |
| Equals | (Inherited from Object.) | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (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.) | |
| GetVersion |
Return SNMP version Integer32 object
| |
| InitializePacket |
Initialize SNMP packet class with agent parameters. In this class, SNMP community name is
set in SNMPv1 and SNMPv2 packets.
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | (Inherited from Object.) | |
| Valid |
Validate object.
|
Fields
| Name | Description | |
|---|---|---|
| _community |
SNMP community name for SNMP v1 and v2 protocol versions
| |
| _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.
| |
| _version |
Agent protocol version
|
Properties
| Name | Description | |
|---|---|---|
| Community |
Get SNMP version 1 or 2 community name object
| |
| DisableReplySourceCheck |
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.
| |
| Version |
Get/Set SNMP protocol version.
|