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

public static void TouchTempDirectory(string id)

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