ZipFileExtensions Methods

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticCreateEntryFromFile(ZipArchive, String, String)

Archives a file by compressing it and adding it to the zip archive.

System_CAPS_pubmethodSystem_CAPS_staticCreateEntryFromFile(ZipArchive, String, String, CompressionLevel)

Archives a file by compressing it using the specified compression level and adding it to the zip archive.

System_CAPS_pubmethodSystem_CAPS_staticExtractToDirectory(ZipArchive, String)

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

System_CAPS_pubmethodSystem_CAPS_staticExtractToFile(ZipArchiveEntry, String)

Extracts an entry in the zip archive to a file.

System_CAPS_pubmethodSystem_CAPS_staticExtractToFile(ZipArchiveEntry, String, Boolean)

Extracts an entry in the zip archive to a file, and optionally overwrites an existing file that has the same name.

Return to top
Show: