Build cached authentication and privacy encryption keys if they are appropriate for the selected security mode.

Namespace: SnmpSharpNet
Assembly: SnmpSharpNet (in SnmpSharpNet.dll) Version: 0.9.1.0 (0.9.1)

Syntax

C#
public void BuildCachedSecurityKeys()
Visual Basic
Public Sub BuildCachedSecurityKeys
Visual C++
public:
void BuildCachedSecurityKeys()

Remarks

This method should be called after discovery process has been completed and all security related values have been set. For noAuthNoPriv, none of the keys are generated. authNoPriv will result in authentication key cached. authPriv will generate authentication and privacy keys. For successful key caching you need to set both relevant protocols and secret values.

See Also