PowerSNMP for .NET CF
Id Field
See Also  Send comments on this topic.
Dart.Snmp Namespace > Security Class : Id Field




Gets or sets the message identification field in the security header.

Syntax

Visual Basic (Declaration) 
Public Id As Integer
Visual Basic (Usage)Copy Code
Dim instance As Security
Dim value As Integer
 
value = instance.Id
 
instance.Id = value
C# 
public int Id
Managed Extensions for C++ 
public: int Id
C++/CLI 
public:
int Id

Property Value

An integer that can pair a version 3 ResponseMessage to a specific RequestMessage.

Remarks

The default constructor for any class derived from RequestMessage will automatically initialize this value to one higher than the previous. The first instance will have an Id of 1, the second an Id of 2, and so on.

All decoded messages return the value encoded in the message. Version 3 messages use this property in leau of StandardMessage.Id.

This property is unrelated to Variable.Id, which is either an OID or IID.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 4.2
© 2010 Dart Communications. All Rights Reserved.