Code Sample of System Power Status

This C# Console Application gets the System Power status details  like  ACLinestatus/BatteryFlag/BatteryLifePercent/BatteryLifeTime
using InterOpservices namespace.

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish