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

TVersionInfo

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Low-level class for accessing version information from executable files

Declaration

Source position: fileinfo.pp line 35

type TVersionInfo = class

public

  constructor Create;

  

Creates a new TVersionInfo instance

  destructor Destroy; override;

  

Destroys the TVersionInfo instance and frees resources

  procedure Load();

  

Loads version information from a file or module instance

  property FixedInfo: TVersionFixedInfo; [r]

  

Fixed version information structure

  property StringFileInfo: TVersionStringFileInfo; [r]

  

String-based version information

  property VarFileInfo: TVersionVarFileInfo; [r]

  

Variable version information containing language and code page data

end;

Inheritance

TVersionInfo

  

Low-level class for accessing version information from executable files

|

TObject

Description

TVersionInfo provides direct access to version resources in executable files. It can load version information from files or module instances and exposes the raw version data structures.

Errors

Raises EVersionInfo when attempting to access version information before loading any resources.

See also

TFileVersionInfo

  

High-level component for accessing file version information

EVersionInfo

  

Exception class for version information errors


Documentation generated on: Dec 15 2025