Click or drag to resize

TrapV2Message Constructor (VersionCode, Int32, Int32, OctetString, ObjectIdentifier, UInt32, IListVariable, IPrivacyProvider, Int32, OctetString, Int32, Int32)

Initializes a new instance of the TrapV2Message class

Namespace:  Lextm.SharpSnmpLib.Messaging
Assembly:  SharpSnmpLib (in SharpSnmpLib.dll) Version: 12.4.0+601762d0e653a71ebb69af963204dfbfb6c26b74
Syntax
public TrapV2Message(
	VersionCode version,
	int messageId,
	int requestId,
	OctetString userName,
	ObjectIdentifier enterprise,
	uint time,
	IList<Variable> variables,
	IPrivacyProvider privacy,
	int maxMessageSize,
	OctetString engineId,
	int engineBoots,
	int engineTime
)

Parameters

version
Type: Lextm.SharpSnmpLibVersionCode
messageId
Type: SystemInt32
requestId
Type: SystemInt32
userName
Type: Lextm.SharpSnmpLibOctetString
enterprise
Type: Lextm.SharpSnmpLibObjectIdentifier
time
Type: SystemUInt32
variables
Type: System.Collections.GenericIListVariable
privacy
Type: Lextm.SharpSnmpLib.SecurityIPrivacyProvider
maxMessageSize
Type: SystemInt32
engineId
Type: Lextm.SharpSnmpLibOctetString
engineBoots
Type: SystemInt32
engineTime
Type: SystemInt32
See Also