[]
        
(Showing Draft Content)

C1.Zip.C1ZipEntry

C1ZipEntry Class

Represents an entry in a zip file, and exposes information including the entry name, compressed and uncompressed sizes, date, checksum, etc.

Inheritance
C1ZipEntry
Namespace: C1.Zip
Assembly: C1.Zip.dll
Syntax
public class C1ZipEntry

Properties

Name Description
Attributes

Gets the file attributes associated with the entry.

CRC32

Gets the checksum calculated when the entry was compressed.

Comment

Gets or sets a comment associated with the entry.

CompressionRatio

Gets the compression ratio applied to this entry.

Date

Gets the date and time when the file used to create the entry was last modified.

FileName

Gets the entry name. This is usually a file name, optionally including a path.

IsEncrypted

Gets a value that determines whether the entry is encrypted.

SizeCompressed

Gets the compressed size of the entry, in bytes.

SizeCompressedLong

Gets the compressed size of the entry, in bytes, as a long integer.

SizeUncompressed

Gets the original (uncompressed) size of the entry, in bytes.

SizeUncompressedLong

Gets the original (uncompressed) size of the entry, in bytes, as a long integer.

Methods

Name Description
CheckCRC32()

Calculates a checksum value for the entry and compares it to the checksum that was stored when the entry was created.

CheckPassword()

Checks whether this C1ZipEntry can be read with the currently set password.

Extract(string)

Extracts this entry to a file.

OpenReader()

Returns a Stream that can be used to read the content of the entry without extracting it to a disk file.

Remove()

Removes this entry from the zip file.