PowerSNMP for .NET
Id Field (Security)




Gets or sets the message identification field in the security header.
Syntax
Public Id As Integer
Dim instance As Security
Dim value As Integer
 
value = instance.Id
 
instance.Id = value
public int Id
public: int Id
public:
int Id

Field 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 lieu of StandardMessage.Id.

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

See Also

Reference

Security Class
Security Members


PowerSNMP for .NET Documentation Version 8.0
© 2024 Dart Communications. All Rights Reserved.
Send comments on this topic