PowerSNMP for .NET
LocalPrivacyKeys Field




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

Field Value

The value returned by this collection is a two dimensional byte array containing the local privacy keys in Reeder and Blumenthal formats.
Remarks
This dictionary caches all local privacy 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