Build SNMP RESPONSE packet for the INFORM packet class.
Namespace:
SnmpSharpNetAssembly: SnmpSharpNet (in SnmpSharpNet.dll) Version: 0.5.0.0 (0.5.0.0)
Syntax
| C# | Visual Basic | Visual C++ |
public static SnmpV3Packet BuildInformResponse( SnmpV3Packet informPacket )
Public Shared Function BuildInformResponse ( _ informPacket As SnmpV3Packet _ ) As SnmpV3Packet
public: static SnmpV3Packet^ BuildInformResponse( SnmpV3Packet^ informPacket )
Parameters
- informPacket
- SnmpV3Packet
SNMP INFORM packet
Return Value
SNMP version 3 packet containing RESPONSE to the INFORM packet contained in the parameter.
Exceptions
| Exception | Condition |
|---|---|
| SnmpInvalidPduTypeException | Parameter is not an INFORM SNMP version 3 packet class |
| SnmpInvalidVersionException | Parameter is not a SNMP version 3 packet |