Is there a way in C# to detect if the CLIENT's computer is connected to a remote win server?

Mar 14 2011 8:02 PM
Is there a way to know if the client's computer has an active terminal server connection? I'm NOT asking if a given application is running under terminal server.  What I need to know is how to build a C# program composed of one simple form and a button.  When the button is pressed it display a messagebox that tells if there is a RDC (mstsc) active or not and if possible,  the remote server name when the connection is active.

Answers (2)