title: get logs of login and logout of windows users
body: <p>i want to write a win program and i want to save logs of login and logout of any users(such as time ,username,date,...) that use my pc in every day ,but maybe my application isn't run?can i get this log file from OS??if yes how??
  please help and guide me.thanks.</p>