I'm trying to filter event logs with csharp, I need a method similar to Get-WinEvent
command, that can filter the logs with XPATH or any other syntax.
The only method I found is GetEventLogs(), and it does not support filtering.
Any ideas?
I'm trying to filter event logs with csharp, I need a method similar to Get-WinEvent
command, that can filter the logs with XPATH or any other syntax.
The only method I found is GetEventLogs(), and it does not support filtering.
Any ideas?