# cbLogGetFileInfo()

Returns the version level and byte size of a binary file.

## Function Prototype

C/C++

int cbLogGetFileInfo(char* Filename, int* Version, int* Size)

Visual Basic

Function cbLogGetFileInfo(ByVal Filename$, ByRef Version&, ByRef Size&) As Long

## Arguments

Filename

The name of the file to retrieve the information from.

Version

The version level of the binary file.

Size

The size in bytes of the binary file.

## Returns

- Error code or 0 if no errors
- Version – Returns the version level of the binary file.
- Size – Returns the size in bytes of the binary file.