Please remember this is a work in progress. Home » Classes

Classes

 

TIWAppInfo

 

Utility class to retrieve various informations about the IntraWeb application.

Unit

IW.Common.AppInfo

Class hierarchy

TObject -> TIWAppInfo

Methods

GetAppFullFileName [Public]

Declaration: class function GetAppFullFileName: string;

Description: Returns the full file name of the IntraWeb's executable file (SA or ISAPI), including path information and extension

Result: string containing the file name


GetAppFileName [Public]

Declaration: class function GetAppFileName: string;

Description: Returns the file name of the IntraWeb application executable file (SA or ISAPI) including extension, without path information

Result: string containing the file name


GetAppLogFileName [Public]

Declaration: class function GetAppLogFileName: string;

Description: Returns the file name of the IntraWeb application log file, in the same directory of the main executable/dll.

Result: string containing the file name


GetAppPath [Public]

Declaration: class function GetAppPath: string;

Description: Returns the folder or directory of the IntraWeb application.

Result: string containing the directory


GetAppName [Public]

Declaration: class function GetAppName: string;

Description: Returns the name of the IntraWeb application executable (SA or ISAPI), without extension.

Result: String containing the application name


GetSystemPath [Public]

Declaration: class function GetSystemPath: string;

Description: Returns Windows path (System32 or SysWOW64) including last path delimiter

Result: String containing the path


GetTempPath [Public]

Declaration: class function GetTempPath: string;

Description: Returns the user temporary path including last path delimiter

Result: String containing the path


GetCurrentPath [Public]

Declaration: class function GetCurrentPath: string;

Description: Returns the current path

Result: String containing the path


GetComputerName [Public]

Declaration: class function GetComputerName: string;

Description: Returns the name of the computer where the IntraWeb application is hosted

Result: String containing the computer name


GetFileInfo [Public]

Declaration: class function GetFileInfo(const aFileName: string; aFileInfo: TFileInfo): string;

Description: Retrieves various informations about some executable file (version, company, copyright, etc.). Used internally by IntraWeb.

Parameters:

  • aFileName (string): The name of the file
  • aFileInfo (TFileInfo): Type of the information to be retrieved
type
  TFileInfo = (fiCompanyName, fiFileDescription, fiFileVersion, fiIntName,
               fiLegalCopyright, fiLegalTradmark, fiOrigFilename, fiProductName,
               fiProductVersion, fiComments);
Result: String containing the file information

GetAppVersion [Public]

Declaration: class function GetAppVersion: string;

Description: Returns the version information of the IntraWeb application, e.g. "1.0.2.1".

Result: String containing the version information


 

Terms of Use | Privacy Statement © 2002 - 2024 Atozed Software