title: How to know when was Windows started or shutdown?
body: <p>I need to develop a program in C# find out when was Windows started or shutdown. </p>
  
  <p>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?</p>
  
  <p><strong>EDIT :</strong></p>
  
  <p>With the help of Mr. Reed Copsey, the best answer is found under this <a href="https://stackoverflow.com/questions/6185608/getting-server-restart-count-in-a-day-using-c">question</a>.</p>