UtilityTools.TouchTempDirectory Method

This method sets the modification time of each file in the specified directory to the current time. This is useful to keep temporary files from being deleted by a process that looks for temporary files older than a specific age.

Syntax

void TouchTempDirectory(string ID);

Parameters Description
ID A unique ID to identify which temporary folder to touch.