Xceed Zip for .NET gives you the possibility to list the contents of zip files. For more information, you can refer to the Listing the contents of a zip file topics for both QuickZip and the FileSystem object model.
QuickZip Example
The following example demonstrates how to list the contents of a zip file using the static GetZipContents method of the QuickZip class.
VB.NET | Copy Code |
---|---|
|
C# | Copy Code |
---|---|
using Xceed.Zip; |
FileSystem Example
The following example demonstrates how to list the contents of a zip file using the FileSystem object model.
VB.NET | Copy Code |
---|---|
|
C# | Copy Code |
---|---|
|
For more information, you can refer to the "Listing the contents of a zip file" topics for both QuickZip and the FileSystem object model.