Internet Direct (Indy) Version 9.0.2 Beta
MakeTempFilename
Constructs a unique name for a temporary file.

function MakeTempFilename: string;
Returns
String - The unique temporary file name.

Description
MakeTempFilename is a String function used to construct a unique file name for a temporary file.

MakeTempFilename uses the variable ATempPath to store the path portion of the temporary file name, and constructs the file name using the prefix " "Indy".

MakeTempFilename encapsulates the platform-specific procedures and functions used to construct a unique file name for an Operating System file. For the Windows platform, the WIN32 API function used is GetTempFileName. On the Linux platform, tempnam is called to create the temporary file name.