Send SNMP version 1 Trap notification

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

Syntax

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

Parameters

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

See Also