PowerSNMP for .NET
LocalAuthenticationKeys Field




This concurrent dictionary is used for caching unique local authentication keys per Engine ID.
Syntax
Public LocalAuthenticationKeys As ConcurrentDictionary(Of String,Byte())
Dim instance As User
Dim value As ConcurrentDictionary(Of String,Byte())
 
value = instance.LocalAuthenticationKeys
 
instance.LocalAuthenticationKeys = value
public ConcurrentDictionary<string,byte[]> LocalAuthenticationKeys
public: ConcurrentDictionary<string*,byte[]>* LocalAuthenticationKeys
public:
ConcurrentDictionary<String^,array<byte>>^ LocalAuthenticationKeys

Field Value

The value returned by this collection is a byte array containing the local authentication key.
Remarks
This dictionary caches all local authentication keys as they are created. It is indexed by the Engine Id's Hex string representatation using Security.ToHexString. During SNMPv3 message processing, this collection is queried for an appropiate local key prior to generating a new one. If the Engine ID exists in this collection when a new key is generated, it will be updated with the new value. This dictionary is not serialized iwth the user object.
See Also

Reference

User Class
User Members


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