Lock your workstation
There are many ways to lock your work station.. Here is the most common way is:
Press Ctl+ Alt+ Delete and click "Lock Computer".
There are 2 other alternatives:
1. Windows Key + L
2. Create an shortcut rundll32.exe user32.dll,LockWorkStation
and programmatically
using
System;
using
System.Runtime.InteropServices;
[DllImport("user32.dll")]
public
static extern void LockWorkStation();
private
void button_Click(object sender, System.EventArgs e) {
LockWorkStation();
}
-- Mihir Solanki
PS : Leave your feedbacks/comments here