There is a server in my office, everyone in the team can connect to this server using the remote desktop connection.
I want the code to get the active username(system name) and status who connected to the server.
Please help me in C# code which checks the current user RDP status.