Skip to content

net90_EventLogHelper_SmartEventLogger_CanReadRegistryForLogAndSource

dparvin edited this page Aug 2, 2025 · 1 revision

SmartEventLogger.CanReadRegistryForLogAndSource method

Checks if the current user has read access to the registry key for a specific event log source.

public static bool CanReadRegistryForLogAndSource(string sourceName, string logName, 
    string machineName)
parameter description
sourceName The name of the event source.
logName The name of the event log.
machineName The machine to check, or "." for local machine.

Return Value

True if the registry key can be read; otherwise, False.

See Also

Clone this wiki locally