Location: Symbol Reference > Classes > TJwWindowsVersion Class > TJwWindowsVersion Methods > TJwWindowsVersion.IsTerminalServiceRunning Method
JWSCL Documentation
ContentsIndexHome
PreviousUpNext
TJwWindowsVersion.IsTerminalServiceRunning Method
Pascal
class function IsTerminalServiceRunning: Boolean;

IsTerminalServiceRunning checks the status of the terminal service. 

Return Returns true if the terminal service is running; otherwise false.

On Windows 7 (Workstation) the function returns in most cases false because of a changed Windows TS architecture. Even if TS is not running you can safely call any WTS function. So you just need to check for Windows 7 and ignore the result of IsTerminalServiceRunning.

Copyright (c) 2010. All rights reserved.
This help was created by Doc-O-Matic sponsored by toolsfactory software inc.
What do you think about this topic? Send feedback!