ZipArchive Methods
The central object of the library - a package of entries containing compressed data.
Name | Description |
---|---|
Add |
Creates a zip item from a byte array and adds it to archive. |
Add |
Recursively add files and directories to the archive. |
Add |
Recursively add files and directories to the archive directory named by the last component of the specified path. |
Add |
Creates a zip file item for the specified file and adds it to the specified path in the archive. |
Add |
Creates a zip file item for the specified file and adds it to the archive. |
Add |
Adds files to the archive at the specified path. |
Add |
Adds files to archive. |
Add |
Creates a zip stream item and adds it to the archive. |
Add |
Creates a text zip item and adds it to archive. |
Add |
Creates a text zip item and adds it to the archive. |
Add |
Creates an empty text zip item and adds it to archive. |
Dispose() |
Clears all zip items, disposes all associated streams and releases all resources used by the Zip |
Equals |
Determines whether the specified object instances are considered equal. Inherited from Object. |
Equals |
Determines whether the specified object is equal to the current object. Inherited from Object. |
Extract() | Extract all archive items as files into the current directory. |
Extract |
Extracts all archive items as files into the specified directory and enables you to define the behavior in case of file name conflicts. |
Extract |
Extracts all archive items as files into the specified directory. |
Get |
Serves as the default hash function. Inherited from Object. |
Get |
Gets the Type of the current instance. Inherited from Object. |
Is |
Reserved for future use. |
Memberwise |
Creates a shallow copy of the current Object. Inherited from Object. |
Read |
Static method that creates a Zip |
Read |
Static method that creates a Zip |
Read |
Static method that creates a Zip |
Read |
Static method that creates a Zip |
Read |
Static method that creates a Zip |
Read |
Static method that creates a Zip |
Reference |
Determines whether the specified Object instances are the same instance. Inherited from Object. |
Remove |
Deletes a specified zip item from the archive. |
Remove |
Deletes a specified zip item from the archive. |
Save |
Compresses data and saves it to a specified stream. |
Save |
Compresses data and saves it to a file. |
To |
Returns a string that represents the current object. Inherited from Object. |
Update |
Recursively updates files and nested directories starting from the specified directory. |
Update |
Recursively updates files and nested directories starting from the specified directory. |
Update |
Updates content of the zip file item. |
Update |
Updates content of the zip file item. |
Update |
Updates the content of the zip stream item. |
Update |
Updates the content of the zip text item and specifies a new character encoding. |
Update |
Updates the content of the zip text item. |
Validate() | Verifies archive entries by extracting them into memory and catching exceptions. |
See Also