I need to develop a WPF application (Windows Form) similar to a cyber-cafe app. When a specified time elapses or a particular event occurs, I require the application to display a login prompt and restrict window navigation shortcuts such as Alt + Tab, Windows + D, etc.
I used:
[DllImport("user32.dll", SetLastError = true)]
private static extern bool LockWorkStation();
But the user not wants Like (Windows + L) he wants a custom loggin, but Restrict the navigation on windows.