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 can use the classes in System.Diagnostics.Eventing.Reader to access the system Event Logs.