Detecting remote desktop connection

allegedly,

System.Windows.Forms.SystemInformation.TerminalServerSession

will be true for a remote desktop session (or VNC session)

but i’d test it to be sure 😉

Leave a Comment