The SecureAgentParameters type exposes the following methods.

Methods

 Public

 Protected
 Instance

 Static
 Declared

 Inherited
 XNA Framework Only

 .NET Compact Framework Only

 MemberDescription
Clone()()()
Clone current object
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetCurrentEngineTime()()()
Calculates and returns current agents engine time. ValidateEngineTime()()() is called prior to calculation to make sure current engine time is timely enough to use. EngineTime is calculated as last received engine time + difference in seconds between the time stamp saved when last time value was received and current time (using the internal GMT clock).
GetHashCode()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
InitializePacket(SnmpPacket)
InitializePacket SNMP packet with values from this class. Works only on SNMP version 3 packets.
Reset()()()
Reset the class. Initialize all member values to class defaults.
ToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)
UpdateDiscoveryValues(SnmpPacket)
Update class values with SNMP version 3 discovery values from the supplied SnmpV3Packet class. Values updated are EngineId, EngineTime and EngineBoots.
UpdateTimeStamp()()()
Updates engine time timestamp. This value is used to determine if agents engine time stored in this class is valid. Timestamp is saved as DateTime class by default initialized to DateTime.MinValue. Timestamp value is stored in GMT to make it portable (if it is saved on one computer and loaded on another that uses a different time zone).
UpdateValues(SnmpPacket)
Copy all relevant values from the SnmpV3Packet class. Do not use this class for updating the SNMP version 3 discovery process results because secret name, authentication and privacy values are updated as well which discovery process doesn't use.
Valid()()()
Checks validity of the class.
ValidateEngineTime()()()
Validate agents engine time. Valid engine time value is time that has been initialized to a value other then default (DateTime.MinValue is default set in the constructor) and that has been updated in the last 10 times the SNMP v3 timely window (150 seconds). In other words, valid time is any time value in the last 1500 seconds (or 25 minutes).
ValidateIncomingPacket(SnmpV3Packet)
Validate that incoming packet has arrived from the correct engine id and is using a correct combination of privacy and authentication values.

See Also