ZipFile Methods
The methods of the ZipFile class are listed below. For a complete list of ZipFile class members, see the ZipFile Members topic.
Public Static Methods
Public Instance Methods
| Abort updating leaving the archive unchanged. | |
| Overloaded. Add a new entry to the archive. | |
| Add a directory entry to the archive. | |
| Overloaded. Begin updating this ZipFile archive. | |
| Closes the ZipFile. If the stream is owned then this also closes the underlying input stream. Once closed, no further instance methods should be called. | |
| Commit current updates, updating this archive. | |
| Overloaded. Delete an entry by name | |
| Determines whether the specified Object is equal to the current Object. | |
| Return the index of the entry with a matching name | |
| Searches for a zip entry in this archive with the given name. String comparisons are case insensitive | |
| Returns an enumerator for the Zip entries in this Zip file. | |
| Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. | |
| Overloaded. Creates an input stream reading the given zip entry as uncompressed data. Normally zip entry should be an entry returned by GetEntry(). | |
| Gets the Type of the current instance. | |
| Set the file comment to be recorded when the current update is commited. | |
| Overloaded. Test an archive for integrity/validity | |
| Returns a String that represents the current Object. |
Protected Instance Methods
| Releases the unmanaged resources used by the this instance and optionally releases the managed resources. | |
| Finalize this instance. | |
| Creates a shallow copy of the current Object. |