UtilPowerHibernate Method

Sets the system in Hibernate state.

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 void Hibernate(
	bool force = false
)

Parameters

force  Boolean  (Optional)
to force the Hibernate mode immediately; to cause the operating system to send a Hibernate request to every application.

Remarks

If an application does not respond to a Hibernate request within 20 seconds, the operating system determines that it is in a non-responsive state, and that the application can either be put to sleep or terminated.

Once an application responds to a Hibernate request, it can take whatever time it needs to clean up resources and shut down active processes.

See Also