Send SNMP version 2 Trap notification
Namespace:
SnmpSharpNetAssembly: SnmpSharpNet (in SnmpSharpNet.dll) Version: 0.5.2.0 (0.5.2.0)
Syntax
| C# |
|---|
public void SendV2Trap( SnmpV2Packet packet, IpAddress peer, int port ) |
| Visual Basic (Declaration) |
|---|
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