CBFS Vault 2020 C++ Builder Edition

Questions / Feedback?

GetFileSize Method

Retrieves the size of a file or alternate stream.

Syntax

__int64 __fastcall GetFileSize(String FileName);

Remarks

This method retrieves the size, in bytes, of the file or alternate stream specified by FileName. (Note that, for files, the returned value only reflects the size of the file's immediate contents, it does not account for any alternate streams the file may or may not contain.)

The value passed for FileName must be a vault-local absolute path.

Note: This method can only be called when Active is true.

Copyright (c) 2022 Callback Technologies, Inc. - All rights reserved.
CBFS Vault 2020 C++ Builder Edition - Version 20.0 [Build 8145]