Enumerate Event Logs
.NET (Core and Framework)
3
Posts
2
Posters
6
Views
1
Watching
-
Does anyone know of a library that will enumerate the event logs on a machine? Or, does anyone know the query for ldap/adsi that can be used for this? There's gotta be something... Tanka
-
Does anyone know of a library that will enumerate the event logs on a machine? Or, does anyone know the query for ldap/adsi that can be used for this? There's gotta be something... Tanka
Look at
System.Diagnostics.EventLog.GetEventLogs( [MachineName] )
. Should return an array of EventLog objects for all logs defined on the machine. -
Look at
System.Diagnostics.EventLog.GetEventLogs( [MachineName] )
. Should return an array of EventLog objects for all logs defined on the machine.Ya I'm blind. Thanks...