רשומות בנושאי מחשבים ותכנות #C
[DllImport("user32.dll")] public static extern void LockWorkStation(); // The function to switch user/lock the computer void foo() { LockWorkStation(); }