Unit 'FileInfo' Package
[Overview][Types][Classes][Procedures and functions][Index] [#fcl]

TFileVersionInfo.ReadFileInfo

Reads version information from the specified file

Declaration

Source position: fileinfo.pp line 78

public procedure TFileVersionInfo.ReadFileInfo;

Description

ReadFileInfo extracts version strings from the file specified by FileName. If no file is specified, it reads from the current executable. The extracted strings are filtered according to Filter and stored in VersionStrings.

Errors

Raises EVersionInfo if the specified translation is not found and TranslationOnly is True.

See also

FileName

  

File name to read version information from

VersionStrings

  

Extracted version information strings

Filter

  

List of version string keys to extract

Translation

  

Language and code page identifier for version strings


Documentation generated on: Dec 15 2025