Method GenTempFileName
GenTempFileName(string, GenTempFileNameFlags)
Generates a temporary file name with the specified extension.
public static string GenTempFileName(string extension = ".tmp", PathUtilities.GenTempFileNameFlags flags = GenTempFileNameFlags.DeleteIfExists)
Parameters
extension
stringThe file extension to use for the temporary file.
flags
PathUtilities.GenTempFileNameFlags
Returns
- string
A string containing the full path of the generated temporary file name.