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 SnmpV2Packet BuildInformResponse( SnmpV2Packet informPacket )
Public Shared Function BuildInformResponse ( _ informPacket As SnmpV2Packet _ ) As SnmpV2Packet
public: static SnmpV2Packet^ BuildInformResponse( SnmpV2Packet^ informPacket )
Parameters
- informPacket
- SnmpV2Packet
SNMP INFORM packet
Return Value
SNMP version 2 packet containing RESPONSE to the INFORM packet contained in the parameter.
Exceptions
| Exception | Condition |
|---|---|
| SnmpInvalidPduTypeException | Parameter is not an INFORM SNMP version 2 packet class |
| SnmpInvalidVersionException | Parameter is not a SNMP version 2 packet |