Construct and send SNMP v3 authNoPriv Trap

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

Syntax

C#
public void SendV3Trap(
	IpAddress receiver,
	int receiverPort,
	byte[] engineId,
	int senderEngineBoots,
	int senderEngineTime,
	string senderUserName,
	uint senderUpTime,
	Oid trapObjectID,
	VbCollection varList,
	AuthenticationDigests authDigest,
	byte[] authSecret
)
Visual Basic (Declaration)
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, _
	authDigest As AuthenticationDigests, _
	authSecret As Byte() _
)
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, 
	AuthenticationDigests authDigest, 
	array<unsigned char>^ authSecret
)

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
authDigest
Type: SnmpSharpNet..::.AuthenticationDigests
Authentication digest. AuthenticationDigests enumeration for available digests
authSecret
Type: array< System..::.Byte >[]()[]
Authentication secret

See Also