ZipArchive Methods
Collapse the table of content
Expand the table of content

ZipArchive Methods

.NET Framework (current version)
 

Namespace:   System.IO.Compression
Assembly:  System.IO.Compression (in System.IO.Compression.dll)

NameDescription
System_CAPS_pubmethodCreateEntry(String)

Creates an empty entry that has the specified path and entry name in the zip archive.

System_CAPS_pubmethodCreateEntry(String, CompressionLevel)

Creates an empty entry that has the specified entry name and compression level in the zip archive.

System_CAPS_pubmethodDispose()

Releases the resources used by the current instance of the ZipArchive class.

System_CAPS_protmethodDispose(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.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetEntry(String)

Retrieves a wrapper for the specified entry in the zip archive.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_pubmethodCreateEntryFromFile(String, String)

Overloaded. Archives a file by compressing it and adding it to the zip archive.(Defined by ZipFileExtensions.)

System_CAPS_pubmethodCreateEntryFromFile(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.)

System_CAPS_pubmethodExtractToDirectory(String)

Extracts all the files in the zip archive to a directory on the file system.(Defined by ZipFileExtensions.)

Return to top
Show:
© 2016 Microsoft