IPWorks SNMP 2020 .NET Edition

Questions / Feedback?

CacheEntry Event

Shows engines and users in the internal cache.

Syntax

public event OnCacheEntryHandler OnCacheEntry;

public delegate void OnCacheEntryHandler(object sender, SnmptrapmgrCacheEntryEventArgs e);

public class SnmptrapmgrCacheEntryEventArgs : EventArgs {
  public string EngineId { get; }
public byte[] EngineIdB { get; } public int EngineBoots { get; } public int EngineTime { get; } public string User { get; } public string AuthenticationProtocol { get; } public string AuthenticationPassword { get; } public string EncryptionAlgorithm { get; } public string EncryptionPassword { get; } }
Public Event OnCacheEntry As OnCacheEntryHandler

Public Delegate Sub OnCacheEntryHandler(sender As Object, e As SnmptrapmgrCacheEntryEventArgs)

Public Class SnmptrapmgrCacheEntryEventArgs Inherits EventArgs
  Public ReadOnly Property EngineId As String
Public ReadOnly Property EngineIdB As Byte() Public ReadOnly Property EngineBoots As Integer Public ReadOnly Property EngineTime As Integer Public ReadOnly Property User As String Public ReadOnly Property AuthenticationProtocol As String Public ReadOnly Property AuthenticationPassword As String Public ReadOnly Property EncryptionAlgorithm As String Public ReadOnly Property EncryptionPassword As String End Class

Remarks

CacheEntry events are triggered by a call to ShowCache. One event is fired for each user and engine. If there are no users for a particular engine, a single event is fired with the engine information, but empty values for user information.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks SNMP 2020 .NET Edition - Version 20.0 [Build 8202]