Is there a way in C# to detect if the CLIENT's computer is connected to a remote win server?
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.
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Mahesh ChandRank #1 · 393K pointsPosted Mar 16, 2011, 7:40 AM EDT
Santos Junior2 pointsPosted Mar 16, 2011, 8:06 AM EDT