title: detect if machine is online or offline using WMI and C#
body: <p>I use vs2008, winxp, in LAN network with Win2003 servers.</p>
  
  <p>I want a application installed in winxp for detect if win2003 machines is online or offline , and if offline when boot it.</p>
  
  <p>I have this references, any more references, code samples and best practices ??</p>
  
  <p><a href="http://danielvl.blogspot.com/2004/06/how-to-ping-in-c-using.html" rel="nofollow">http://danielvl.blogspot.com/2004/06/how-to-ping-in-c-using.html</a></p>
  
  <p><a href="http://snipplr.com/view/2157/ping-using-wmi-pingstatus/" rel="nofollow">http://snipplr.com/view/2157/ping-using-wmi-pingstatus/</a></p>
  
  <p><a href="http://dotnoted.wordpress.com/2005/01/15/the-popular-c-ping-utitility/" rel="nofollow">http://dotnoted.wordpress.com/2005/01/15/the-popular-c-ping-utitility/</a></p>
  
  <p><a href="http://www.visualbasicscript.com/Ping-WMI-amp-NonWMI-Versions-Functions-amp-Simple-Connectivity-Monitor-m42535.aspx" rel="nofollow">http://www.visualbasicscript.com/Ping-WMI-amp-NonWMI-Versions-Functions-amp-Simple-Connectivity-Monitor-m42535.aspx</a></p>