DeleteOldTemporaryFiles Method
See Also  Send Feedback
CodeCarvings.Piczard.Web Namespace > TemporaryFileManager Class : DeleteOldTemporaryFiles Method

Deletes all the temporary files present in the current temporary folder whose LastWriteTime is older than the value specified by WebSettings.TemporaryFileManager.MaxFileLifeTime.


Visual Basic (Declaration)  
Public Shared Function DeleteOldTemporaryFiles() As Integer
public static int DeleteOldTemporaryFiles()

Return Value

The number of deleted files.


Platforms: Windows 8, Windows 7, Windows Vista, Windows XP Professional, Windows 2000 - Windows Server family: 2012, 2008.R2, 2008, 2003, 2000

See Also

©2013 Sergio Turolla. All Rights Reserved.