Send SNMP version 2 Trap notification

Namespace: SnmpSharpNet
Assembly: SnmpSharpNet (in SnmpSharpNet.dll) Version: 0.9.1.0 (0.9.1)

Syntax

C#
public void SendV2Trap(
	SnmpV2Packet packet,
	IpAddress peer,
	int port
)
Visual Basic
Public Sub SendV2Trap ( _
	packet As SnmpV2Packet, _
	peer As IpAddress, _
	port As Integer _
)
Visual C++
public:
void SendV2Trap(
	SnmpV2Packet^ packet, 
	IpAddress^ peer, 
	int port
)

Parameters

packet
Type: SnmpSharpNet..::..SnmpV2Packet
SNMP v2 Trap packet class
peer
Type: SnmpSharpNet..::..IpAddress
Manager (receiver) IP address
port
Type: System..::..Int32
Manager (receiver) UDP port number

See Also