Navigation:  TLuaFile >

GetFileSizeMB

Previous pageReturn to chapter overviewNext page

int GetFileSizeMB(string sFile)

Return values

Size of file in number of mega bytes if the function is successful; if the file cannot be accessed the return value is -1.

Parameters

sFile

Path and name of the file.