July 2nd, 2009, 11:29 AM
Read from Vista Event log
I want to be able to read the entries in one of the entries in the Microsoft-Windows-GroupPolicy/Operational under Applications and Services log in C#. When I use
System.Diagnostics.EventLog.Exists("Microsoft-Windows-GroupPolicy/Operational"), to see if the log event exists, it returns false. I've found that to be true for all logs that are nested in sub folders. Is there another way to do this?
Thanks in advance,
Tags for this Thread
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!