Root > Reference > All Functions > IsWorkstation

Function IsWorkstation

Previous pageReturn to chapter overviewNext page   

Gets server/workstation status of current computer.







Code (Delphi)

function IsWorkstation: Boolean;


Return value

True if current computer is workstation, False otherwise (it's server).



Function determinate server/workstation status based on operating system version. For consumer operating systems (for example - Window XP, Windows 7) it will return True. For server operating systems (for example, Windows Server 2003, Windows Server 2008) it will return False.


This function can be used to distinguish between, say, Windows 7 and Windows 2008 R2, etc.


See also

Send feedback... Build date: 2022-03-28
Last edited: 2022-03-28
The documentation team uses the feedback submitted to improve the EurekaLog documentation. We do not use your e-mail address for any other purpose. We will remove your e-mail address from our system after the issue you are reporting has been resolved. While we are working to resolve this issue, we may send you an e-mail message to request more information about your feedback. After the issues have been addressed, we may send you an email message to let you know that your feedback has been addressed.

Permanent link to this article: