Click or drag to resize

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

Initializes a new instance of the TrapV2Message class.

Namespace: Lextm.SharpSnmpLib.Messaging
Assembly: SharpSnmpLib (in SharpSnmpLib.dll) Version: 12.5.7-2+Branch.master.Sha.2a75ece2c9d55c4f731f356d1512c8a5d19fa096.2a75ece2c9d55c4f731f356d1512c8a5d19fa096
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,
	OctetString contextEngineId,
	OctetString contextName
)

Parameters

version  VersionCode
The version.
messageId  Int32
The message id.
requestId  Int32
The request id.
userName  OctetString
Name of the user.
enterprise  ObjectIdentifier
The enterprise.
time  UInt32
The time.
variables  IListVariable
The variables.
privacy  IPrivacyProvider
The privacy.
maxMessageSize  Int32
Size of the max message.
engineId  OctetString
The engine ID.
engineBoots  Int32
The engine boots.
engineTime  Int32
The engine time.
contextEngineId  OctetString
The context engine ID.
contextName  OctetString
The context name.
See Also