Indy 9
|
function MakeTempFilename(const APath: String = ''): string;
APath is a path specifier for the unique file name.
For the Windows platform, the WIN32 API function used is GetTempFileName, and the tempory file name includes the value in APath and the suffix 'Indy'.
On the Linux platform, tempnam is called to create the temporary file name. Note: APath in not used or include in the tempory file name on the Linux platform.