Skip to main content

lock_workstation

Function lock_workstation 

Source
pub fn lock_workstation() -> Result<()>
Available on crate feature ui only.
Expand description

Locks the computer, same as the user action.