Use the Cassia .NET Library to Detect Users Connected to Windows Server
Thanks to the Cassia .NET Library, you can programmatically detect the users connected to Windows Server without using PInvoke to call the Windows Terminal Services API.
Read more...
Source: DevX