Using terminal services API to determine if the application is being run remotely Imagine you have a client application that may be executed remotely or locally at the user’s computer. For most times, you will need to know whether the instance of the application is being run directly on a user’s desktop or from a remote client machine. You will need to be aware of this for several reasons, some of them were mentioned in my previous post Development considerations taken when installing client application...