VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging.Web.Services Namespace / CacheManagerBase Class / RemoveExpiredFiles(String,Int32) Method
Syntax Requirements SeeAlso
In This Topic
    RemoveExpiredFiles(String,Int32) Method (CacheManagerBase)
    In This Topic
    Removes the files from directory if file lifetime is finished.
    Syntax
    'Declaration
    
    Protected Sub RemoveExpiredFiles( _
    ByVal directoryPath
    A path to a directory.
    As String, _
    ByVal fileLifeTime
    A file lifetime, in minutes.
    As Integer _
    )
    protected void RemoveExpiredFiles(
    string directoryPath,
    int fileLifeTime
    )
    protected: void RemoveExpiredFiles(
    string* directoryPath,
    int fileLifeTime
    )
    protected:
    void RemoveExpiredFiles(
    string^ directoryPath,
    int fileLifeTime
    )

    Parameters

    directoryPath
    A path to a directory.
    fileLifeTime
    A file lifetime, in minutes.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7, .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5

    See Also