Click or drag to resize

SnmpMessageExtensionMessageId Method

Gets the message ID.

Namespace: GSF.Net.Snmp.Messaging
Assembly: GSF.Net (in GSF.Net.dll) Version: 2.4.181-beta
Syntax
public static int MessageId(
	this ISnmpMessage message
)
View Source

Parameters

message  ISnmpMessage
The ISnmpMessage.

Field Value

Int32
The message ID.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ISnmpMessage. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Remarks
For v3, message ID is different from request ID. For v1 and v2c, they are the same.
See Also