ZipArchive.Mode Property

.NET Framework (current version)
 

Gets a value that describes the type of action the zip archive can perform on entries.

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

public ZipArchiveMode Mode { get; }

Property Value

Type: System.IO.Compression.ZipArchiveMode

One of the enumeration values that describes the type of action (read, create, or update) the zip archive can perform on entries.

You specify a value for the ZipArchive property when you create an instance of the ZipArchive class. Use the ZipArchive(Stream, ZipArchiveMode) or ZipArchive(Stream, ZipArchiveMode, Boolean) constructor to provide a value for the Mode property.

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Return to top
Show: