GetFileSize Method

Gets the "real size" of a cached file.

Syntax

public long GetFileSize(string fileId);
Public Function GetFileSize(ByVal FileId As String) As Long

Remarks

This method returns the application-reported File Sizes for the cached file identified by FileId (or reports an error if no such file is present in the cache).

Note that the size value returned by this method is the one previously set by the application via the OpenFile or SetFileSize method; it does not necessarily correspond to the actual amount of data present in the cache for the file.

 
 
Copyright (c) 2021 Callback Technologies, Inc. - All rights reserved.
CBFS Cache 2020 .NET Edition - Version 20.0 [Build 7850]