System.SysUtils.TOSVersion.ToString
Delphi
class function ToString: string; static;
C++
static System::UnicodeString __fastcall ToString();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.SysUtils.pas System.SysUtils.hpp |
System.SysUtils | TOSVersion |
Description
Returns the string representation of TOSVersion.
Use ToString to obtain the operating system information as a string. Example:
Writeln(TOSVersion.ToString);
printf("%ls", TOSVersion::ToString().c_str());
Possible output:
Windows XP Service Pack 3 (Version 5.1, Build 2600, 32-bit Edition)