/// <summary> /// Removes a specified file from the archive. /// </summary> /// <param name="fileLocation">The file you want to remove. This must be in a relative path. ("folder1/file.extension")</param> public void RemoveFileFromList(string fileLocation) { var entry = ArchiveMemoryStream.GetEntry(fileLocation); if (entry == null) { return; } entry.Delete(); FileList.Remove(fileLocation); }