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