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

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 11.0.0
Syntax
C#
protected virtual void DeleteTempFilesInternal(
	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