I need to develop a program in C# find out when was Windows started or shutdown.
Is there a log file that I can read to know Windows start and shutdown times? Or do you have any ideas how to do so?
EDIT :
With the help of Mr. Reed Copsey, the best answer is found under this question.
You can use the classes in System.Diagnostics.Eventing.Reader to access the system Event Logs.