Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ZipArchive Methods

.NET Framework 4.5

The ZipArchive type exposes the following members.

  Name Description
Public method CreateEntry(String) Creates an empty entry that has the specified path and entry name in the zip archive.
Public method CreateEntry(String, CompressionLevel) Creates an empty entry that has the specified entry name and compression level in the zip archive.
Public method Dispose() Releases the resources used by the current instance of the ZipArchive class.
Protected method Dispose(Boolean) Called by the Dispose() and Finalize() methods to release the unmanaged resources used by the current instance of the ZipArchive class, and optionally finishes writing the archive and releases the managed resources.
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetEntry Retrieves a wrapper for the specified entry in the zip archive.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top
  Name Description
Public Extension Method CreateEntryFromFile(String, String) Overloaded. Archives a file by compressing it and adding it to the zip archive. (Defined by ZipFileExtensions.)
Public Extension Method CreateEntryFromFile(String, String, CompressionLevel) Overloaded. Archives a file by compressing it using the specified compression level and adding it to the zip archive. (Defined by ZipFileExtensions.)
Public Extension Method ExtractToDirectory Extracts all the files in the zip archive to a directory on the file system. (Defined by ZipFileExtensions.)
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.