-
Notifications
You must be signed in to change notification settings - Fork 0
net90_EventLogHelper_SmartEventLogger_CanReadRegistryForLog
dparvin edited this page Aug 2, 2025
·
1 revision
Determines if the current user has access (read or write) to the registry key for a given event log.
public static bool CanReadRegistryForLog(string logName, string machineName,
bool writeAccess = false)| parameter | description |
|---|---|
| logName | The name of the event log. |
| machineName | The target machine name, or "." for local machine. |
| writeAccess | Optional. True to check for write access; otherwise, False for read-only access. |
True if access is permitted; otherwise, False.
- class SmartEventLogger
- namespace EventLogHelper
- assembly EventLogHelper