In C#, how to check programatically if the current user is in Windows 'Disconnected' state?
Background: On a server, I would like all instances of my program to selv-terminate if the current user is disconnected.
The program is not running in elevated state, i.e. not as administrator.