Click or drag to resize
ZipFile Class
Provides static methods for creating, extracting, and opening zip archives.
Inheritance Hierarchy
SystemObject
  Telerik.Windows.Zip.ExtensionsZipFile

Namespace: Telerik.Windows.Zip.Extensions
Assembly: Telerik.Windows.Zip.Extensions (in Telerik.Windows.Zip.Extensions.dll) Version: 2017.2.607.40 (2017.2.607.40)
Syntax
public static class ZipFile

The ZipFile type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCreateEntryFromFile(ZipArchive, String, String)
Archives a file by compressing it and adding it to the zip archive.
Public methodStatic memberCreateEntryFromFile(ZipArchive, String, String, CompressionLevel)
Archives a file by compressing it using the specified compression level and adding it to the zip archive.
Public methodStatic memberCreateEntryFromFile(ZipArchive, String, String, CompressionSettings)
Archives a file by compressing it using the specified compression settings and adding it to the zip archive.
Public methodStatic memberCreateFromDirectory(String, String)
Creates a zip archive that contains the files and directories from the specified directory.
Public methodStatic memberCreateFromDirectory(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.
Public methodStatic memberCreateFromDirectory(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 optionally includes the base directory.
Public methodStatic memberCreateFromDirectory(String, String, CompressionSettings, Boolean, Encoding)
Creates a zip archive that contains the files and directories from the specified directory, uses the specified compression settings, and optionally includes the base directory.
Public methodStatic memberExtractToDirectory(String, String)
Extracts all the files in the specified zip archive to a directory on the file system.
Public methodStatic memberExtractToDirectory(ZipArchive, String)
Extracts all the files in the zip archive to a directory on the file system.
Public methodStatic memberExtractToDirectory(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.
Public methodStatic memberExtractToFile(ZipArchiveEntry, String)
Extracts an entry in the zip archive to a file.
Public methodStatic memberExtractToFile(ZipArchiveEntry, String, Boolean)
Extracts an entry in the zip archive to a file, and optionally overwrites an existing file that has the same name.
Public methodStatic memberOpen(String, ZipArchiveMode)
Opens a zip archive at the specified path and in the specified mode.
Public methodStatic memberOpen(String, ZipArchiveMode, Encoding)
Opens a zip archive at the specified path and in the specified mode.
Public methodStatic memberOpenRead
Opens a zip archive for reading at the specified path.
Top
See Also