title: How to detect Windows Logon event?
body: <p>How do you detect Windows logon event?</p>
  
  <p>And how do you initiate a user logon from a Windows service?</p>
  
  <p>I'm trying to write a piece of code that will detect logon events and log another one automatically.</p>