public bool AddFile(ArchiveFileInfo archiveFileInfo) { FileEntry file = new FileEntry(); file.FileName = archiveFileInfo.FileName; file.CreateEntry(archiveFileInfo.FileData, true); files.Add(file); return(true); }