|
Previous Top Next |
Prototype: | (),BYTE |
Returns | Returns true if the session is running on Terminal Server, false if it is not. |
This method uses GetSysMetrics to retrieve the setting of the SM_REMOTESESSION, which detects if the session is remote or not.
Example:
ITW ITWindowClass
Code
Message('This session is ' & Choose(ITW.IsTerminalServer()=True,'','not') & ' running on Terminal Server')
See also: