CacheEntry Event
Shows in the internal cache.
Syntax
public event OnCacheEntryHandler OnCacheEntry; public delegate void OnCacheEntryHandler(object sender, SnmpagentCacheEntryEventArgs e); public class SnmpagentCacheEntryEventArgs : EventArgs { 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 SnmpagentCacheEntryEventArgs) Public Class SnmpagentCacheEntryEventArgs Inherits EventArgs 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.