TerminalServicesManager().CurrentSession.ClientName
问题 I am trying to figure out what clients are connected to my machine using remote desktop. I read about Cassia and the Cassia.TerminalServicesManager, but I can't wrap my mind around it... I thought that Cassia.TerminalServicesManager().CurrentSession.ClientName would give me a name of the client, but what if there are more? I looked at the references, but I am still confused. Can someone help me out? Thanks 回答1: It sounds like you're looking for something like this: var manager = new