Xceed Real-Time Zip for .NET Documentation
UncompressedSize Property (ZipReaderByteProgressionEventArgs)


Xceed.Zip Assembly > Xceed.Zip.ReaderWriter Namespace > ZipReaderByteProgressionEventArgs Class : UncompressedSize Property
Gets the uncompressed size of the current file.
Syntax
'Declaration
 
Public ReadOnly Property UncompressedSize As Long
'Usage
 
Dim instance As ZipReaderByteProgressionEventArgs

Dim value As Long

 

value = instance.UncompressedSize
public long UncompressedSize {get;}

Property Value

A value representing the uncompressed size of the current file. Returns -1 if the uncompressed size is unknown.
Remarks
Because Xceed Real-Time Zip for .NET cannot perform a backwards seek, the compressed/uncompressed sizes cannot be written to the Zip archive it creates. As a result, when reading archives created by this product (or whenever the compressed/uncompressed sizes are otherwise unavailable), UncompressedSize returns -1 and Percent returns 0.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ZipReaderByteProgressionEventArgs Class
ZipReaderByteProgressionEventArgs Members