Send SNMP Trap notifications
Namespace:
SnmpSharpNetAssembly: SnmpSharpNet (in SnmpSharpNet.dll) Version: 0.6.0.0 (0.6.0.0)
Syntax
| C# |
|---|
public class TrapAgent |
| Visual Basic (Declaration) |
|---|
Public Class TrapAgent |
| Visual C++ |
|---|
public ref class TrapAgent |
Remarks
TrapAgent class is used to hide Socket operations from users and provide an easy method to send
Trap notifications.
To use the class, you can use the TrapAgent class protocol specific members, recommended when you
expect to send a lot of notifications, or a static helper TrapAgent.SendTrap method which will
construct a new socket for each call.