Click or drag to resize
TempFileInfoProviderDeleteTempFiles Method (String, DateTime)
Deletes old temporary files from the specified parent folder.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 10.0.0
Syntax
C#
public static void DeleteTempFiles(
	string parentFolder,
	DateTime olderThan
)

Parameters

parentFolder
Type: SystemString
Parent folder which is located under the temporary files root folder
olderThan
Type: SystemDateTime
All temporary files older than this date/time are deleted
See Also