Deletes files based on a file spec and a given timeout. This routine is useful for cleaning up temp files in Web applications.
public static void DeleteTimedoutFiles(string filespec,
int seconds);
Parameters
filespec
A filespec that includes path and/or wildcards to select files
seconds
The timeout - if files are older than this timeout they are deleted
See also:
Class FileUtils