Ejemplo n.º 1
0
 public string GetSystemBatteryState()
 {
     return(JsonConvert.SerializeObject(CallNtPowerInformationHandler.GetPowerInformation <CallNtPowerInformationHandler.SYSTEM_BATTERY_STATE>(CallNtPowerInformationHandler.PowerInformationLevel.SystemBatteryState)));
 }
Ejemplo n.º 2
0
 public string GetSystemPowerInformation()
 {
     return(JsonConvert.SerializeObject(CallNtPowerInformationHandler.GetPowerInformation <CallNtPowerInformationHandler.SYSTEM_POWER_INFORMATION>(CallNtPowerInformationHandler.PowerInformationLevel.SystemPowerInformation)));
 }
Ejemplo n.º 3
0
 public long GetLastWakeTime()
 {
     return(CallNtPowerInformationHandler.GetPowerInformation <long>(CallNtPowerInformationHandler.PowerInformationLevel.LastWakeTime));
 }