UtilPowerSendAwakeSignal Method

Sends an Awake signal to prevent the system from turning off the display and entering into Sleep or Hibernation modes.

Definition

Namespace: DevCase.Core.IO.Devices.Power
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static bool SendAwakeSignal()

Return Value

Boolean
if operation succeeds, otherwise.

Remarks

The Awake signal should be sent periodically.

Example

This is a code example that keeps the operating system active to avoid entering into IDLE state.
C#
No code example is currently available or this language may not be supported.

Exceptions

Win32Exception

See Also