ZipFile Methods
Collapse the table of content
Expand the table of content

ZipFile Methods

.NET Framework (current version)
 

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

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticCreateFromDirectory(String, String)

Creates a zip archive that contains the files and directories from the specified directory.

System_CAPS_pubmethodSystem_CAPS_staticCreateFromDirectory(String, String, CompressionLevel, Boolean)

Creates a zip archive that contains the files and directories from the specified directory, uses the specified compression level, and optionally includes the base directory.

System_CAPS_pubmethodSystem_CAPS_staticCreateFromDirectory(String, String, CompressionLevel, Boolean, Encoding)

Creates a zip archive that contains the files and directories from the specified directory, uses the specified compression level and character encoding for entry names, and optionally includes the base directory.

System_CAPS_pubmethodSystem_CAPS_staticExtractToDirectory(String, String)

Extracts all the files in the specified zip archive to a directory on the file system.

System_CAPS_pubmethodSystem_CAPS_staticExtractToDirectory(String, String, Encoding)

Extracts all the files in the specified zip archive to a directory on the file system and uses the specified character encoding for entry names.

System_CAPS_pubmethodSystem_CAPS_staticOpen(String, ZipArchiveMode)

Opens a zip archive at the specified path and in the specified mode.

System_CAPS_pubmethodSystem_CAPS_staticOpen(String, ZipArchiveMode, Encoding)

Opens a zip archive at the specified path, in the specified mode, and by using the specified character encoding for entry names.

System_CAPS_pubmethodSystem_CAPS_staticOpenRead(String)

Opens a zip archive for reading at the specified path.

Return to top
Show:
© 2016 Microsoft