Construct and send SNMP v3 noAuthNoPriv Trap

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

Syntax

C#
public void SendV3Trap(
	IpAddress receiver,
	int receiverPort,
	byte[] engineId,
	int senderEngineBoots,
	int senderEngineTime,
	string senderUserName,
	uint senderUpTime,
	Oid trapObjectID,
	VbCollection varList
)
Visual Basic
Public Sub SendV3Trap ( _
	receiver As IpAddress, _
	receiverPort As Integer, _
	engineId As Byte(), _
	senderEngineBoots As Integer, _
	senderEngineTime As Integer, _
	senderUserName As String, _
	senderUpTime As UInteger, _
	trapObjectID As Oid, _
	varList As VbCollection _
)
Visual C++
public:
void SendV3Trap(
	IpAddress^ receiver, 
	int receiverPort, 
	array<unsigned char>^ engineId, 
	int senderEngineBoots, 
	int senderEngineTime, 
	String^ senderUserName, 
	unsigned int senderUpTime, 
	Oid^ trapObjectID, 
	VbCollection^ varList
)

Parameters

receiver
Type: SnmpSharpNet..::..IpAddress
Trap receiver IP address
receiverPort
Type: System..::..Int32
Trap receiver UDP port number
engineId
Type: array<System..::..Byte>[]()[][]
Sender SNMP engineId
senderEngineBoots
Type: System..::..Int32
Sender SNMP engine boots
senderEngineTime
Type: System..::..Int32
Sender SNMP engine time
senderUserName
Type: System..::..String
Security (user) name
senderUpTime
Type: System..::..UInt32
Sender upTime
trapObjectID
Type: SnmpSharpNet..::..Oid
Trap object ID
varList
Type: SnmpSharpNet..::..VbCollection
Variable binding list

See Also