devxlogo

May 18, 2016

Building Robust Software

Software is infamously hard. This notion dates back to the 70s with the software crisis and the “No Silver Bullet” paper by Fred Brooks. The bigger the system, the more

Locking Your Computer with C#

In order to lock your computer, you need to use the following two APIs: [DllImport(“user32.dll”)] public static extern void LockWorkStation(); [DllImport(“user32.dll”)] public static extern int ExitWindowsEx(int uFlags, int dwReason); You