Is it possible to detect system wake up state from hibernate/sleep in a c# application?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/3948884/detect-power-state-change">detect power state change</a>  </p>
</blockquote>



<p>In my c# windows form application I want to reset a counter variable upon system wake up from hibernate/sleep. Is there any methods or events exists for detecting this? </p>
