UtilityTools.GetTempFilePath Method
This method generates a random file name using the specified extension, and returns the full path to that file in the folder indicated.
Syntax
public static string GetTempFilePath(string directory, string extension)
Parameters | Description |
directory | The directory in which the temporary file will be created. |
extension | The file name extension of the temporary file. |