JCL Help:GetWindowsVersionString

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Returns the Windows version as a string.


Pascal

 function GetWindowsVersionString: string;


Return Value

The Windows version as a string or an empty string if the OS is not recognized.


Description

GetWindowsVersionString returns the Windows version as a string. For example, 'Windows Vista'.


See Also

GetWindowsVersion GetWindowsEditionString GetWindowsProductString


About

Unit

JclSysInfo


Donator

Jean-Fabien Connault


Notes

The result does not contain the Windows edition string. For example, 'Ultimate'. The Windows edition string is retrieved using the GetWindowsEditionString function. To obtain the Windows product string (For Example 'Windows Vista Ultimate'), the GetWindowsProductString function should be used.


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page