Creates a temporary file name with a specific extension. Optionall provide the base path to create it in otherwise the TEMP path is used. Filename is generated as _ + 8 random characters/digits
public static string GetTempFilenameWithExtension(string extension, string tempPath, int charCount)
Parameters
extension
The extension to use (.png)
tempPath
Optional - path in which the file is created if it needs to override
charCount
Optional - character count - minus the prefix _ - of the generated temp filename. Between 8-16
See also:
Class FileUtils© West Wind Technologies, 1996-2024 • Updated: 06/29/24
Comment or report problem with topic