Xceed Zip for .NET gives you the possibility to add files to a new or existing zip file. For more information, you can refer to the Adding files to a zip file and Copying items to a zip file topics.
The following example demonstrates how to add files to a zip file using the static Zip method of the QuickZip class.
VB.NET | Copy Code |
---|---|
|
C# | Copy Code |
---|---|
|
The following example demonstrates how to add files to a zip file using the FileSystem object model.
VB.NET | Copy Code |
---|---|
|
C# | Copy Code |
---|---|
|
For more information, you can refer to the Adding files to a zip file and Copying items to a zip file topics.