TempFolderCleanupTempImages Method

Method to remove temporary images from TempFolderPath

If you used a customTempFolderPath then set TempFolderPath to point towards your deployment directory before you call this cleanup method.

Namespace:  IronPdf
Assembly:  IronPdf (in IronPdf.dll) Version: 2020.10.3
Syntax
public static void CleanupTempImages(
	Nullable<TimeSpan> expirationTime = null
)

Parameters

expirationTime (Optional)
Type: SystemNullableTimeSpan
Time from last access for files to delete. All files are deleted by default.
See Also
Install with Nuget