Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+
  • The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.

ZipItem Members

An entry in the zip archive containing compressed data.

Properties

Name Description
Attributes Gets or sets attributes for a ZipItem that is originated from a file or directory, or that will be decompressed into a file or directory.
Comment Gets or sets a text comment for the zip item.
CompressedSize Obtains the size of compressed data in a zip item.
CreationTime Gets or sets the creation time for the zip item.
CreationTimeUtc Gets or sets the coordinated universal time value of the creation time for the zip item.
Encoding Gets or sets the character encoding for the zip item.
EncryptionType Gets or sets the encryption type for the zip item.
LastAccessTime Gets or sets the last access time for the zip item.
LastAccessTimeUtc Gets or sets the coordinated universal time value for the last access time for the zip item.
LastWriteTime Gets or sets the last write time for the zip item.
LastWriteTimeUtc Gets or sets the coordinated universal time value for the last write time for the zip item.
Name Gets or sets the name of the zip item.
Password Gets or sets a password used for encrypting the content of a zip item.
UncompressedSize Obtains the size of uncompressed data in the zip item.

Methods

Name Description
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
Extract() Extracts an item from the archive to the current directory.
Extract(Stream) Extracts an item from the archive to the specified stream.
Extract(String, AllowFileOverwriteMode) Extracts the current archive item as a file into the specified directory and enables you to define the behavior in case of a file name conflict.
Extract(String) Extracts archive item as a file to the specified directory.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
Open() Obtains the unzipped data stream of the zip item.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also