can_reboot


Description:

[ Version ( since = "4.19.1" ) ]
public bool can_reboot (out bool can_reboot, out bool auth_reboot) throws Error

Check whether systemd can trigger Reboot.

Parameters:

this

the Systemd object

can_reboot

location to store capacity or null

auth_reboot

location to store authorization or null

Returns:

true if the D-Bus request was successful, false otherwise and throws is set.