ImageEn, unit iemview

TIEMDiskCache.CacheInfo

TIEMDiskCache.CacheInfo


Declaration

procedure CacheInfo(out Path: string; out Count: Integer; out Size: Int64);


Description

Return the count and size in bytes of the cached content.
Use CleanUp to reduce the size of the cache.


Example

procedure TForm1.CacheInfoButtonClick(Sender: TObject);
var
  path: string;
  count: Integer;
  size: Int64;
begin
  IEFolderMView.DiskCache.CacheInfo( path, count, size );
  ShowMessage( 'Disk Cache Folder: ' + path );
  ShowMessage( 'Disk Cache Count: ' + IntToStr( count ) );
  ShowMessage( 'Disk Cache Size: ' + IntToStr( size div 1024 ) + 'KB' );
end;