Jeff,
You can get the EventLog instance for the event log that you are trying
to cycle through. Then, check the Events property. It returns a
EventLogEntryCollection class instance which you can iterate through and
get the EventLogEntry instances (representing entries in the log). From
that, you can use the InstanceId property to get the id of the event.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)
UJ said:
Does anybody know of where I can find a complete list of the events that
Windows writes to the EventLog ?
TIA - Jeff.