Xceed Zip for .NET gives you the possibility to remove files and folders from a zip file. For more information, you can refer to the Removing files from a zip file and Removing items from a zip file topics.
The following example demonstrates how to remove all files that begin with "xceed" from a zip file that contains various files using the static Remove method of the QuickZip class.
| VB.NET | Copy Code |
|---|---|
|
| |
| C# | Copy Code |
|---|---|
|
| |
The following example demonstrates how to remove a file from within a zip file using the FileSystem object model.
| VB.NET | Copy Code |
|---|---|
|
| |
| C# | Copy Code |
|---|---|
|
| |
For more information, you ca refer to the Removing files from a zip file and Removing items from a zip file topics.