public int GetFileSize() { checkDisposed(); int val = DllImportCaller.lib.fsize7(Handle); if (val == -1) { throw new Exception(DllImportCaller.LastError().ToString()); } return val; }