This topic demonstrates how to remove items from a GZipped Tar archive by retrieving a reference to a file contained within. Note: Tar and FileSystem-based GZip are not currently available in Xceed's .NET Compact Framework products.
Basic steps
To remove an item from a GZipped Tar archive, the following steps must be performed:
Retrieve a reference to a file contained within the Tar archive.
Once you have a reference to a file, verify the Exists property to make sure that the file actually exists.
When performing many operations on an archive, you may wish to consider optimizing your code by using batch updates.
Using a non-GZipped Tar archive may be preferable in some situations, for example, when read/write speed is essential but storage space is not, when you need to access individual files in the Tar archive without uncompressing the entire archive, or when the files inside the Tar archive are already compressed.
Setting the LicenseKey property with Tar also unlocks the GZip capabilities.
Demonstration
This example demonstrates how to remove a file from within a GZipped Tar archive.