This topic demonstrates how to remove a file from a gzipped file using the static Remove method of the QuickGZip class.
Note: QuickGZip is not currently available in Xceed's Compact Framework products.
Remove method
There is only one version of the Remove method.
Demonstration
In the following example, we specify the gzipped file and the file to remove.
VB.NET | Copy Code |
---|---|
Imports Xceed.GZip |
C# | Copy Code |
---|---|
using Xceed.GZip;
|
Remarks
GZipped files may only contain one file.
Things you should consider
The main questions you should ask yourself when removing an item from a gzipped file are:
-
Do you want to do more complex GZip operations? Use the FileSystem-based classes defined within the Xceed.GZip namespace.