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)
True if the registry key can be read; otherwise, False.
True
False
There was an error while loading. Please reload this page.