Click here to Skip to main content
15,895,799 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am passing the event type as "Error". i am getting this value from
C#
string str = "Application";
           System.Diagnostics.EventLog eventLogApp = new System.Diagnostics.EventLog(str);

From here i am getting the event types. but i want to read all the event id .

Regards,
basha
Posted
Updated 15-Oct-12 4:37am
v2

1 solution

use EventLogEntryCollection. see here[^].
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900