-
Notifications
You must be signed in to change notification settings - Fork 0
net90_EventLogHelper.Interfaces_IEventLogWriter_Exists
dparvin edited this page Sep 10, 2025
·
1 revision
Determines whether the specified event log exists on the given machine.
public bool Exists(string logName, string machineName)| parameter | description |
|---|---|
| logName | The name of the event log to check (e.g., "Application", "System", or a custom log). |
| machineName | The name of the target machine (use "." for the local machine). |
True if the log exists; otherwise, False.
Wraps String) to enable testable checks for log existence.
- interface IEventLogWriter
- namespace EventLogHelper.Interfaces
- assembly EventLogHelper