Send SNMP Trap notifications

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


public class TrapAgent
Visual Basic
Public Class TrapAgent
Visual C++
public ref class TrapAgent


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.

Inheritance Hierarchy


See Also