Xceed .NET Libraries Documentation
Percent Property (ZipReaderByteProgressionEventArgs)


Xceed.Zip Assembly > Xceed.Zip.ReaderWriter Namespace > ZipReaderByteProgressionEventArgs Class : Percent Property
Gets the percentage of the current file that has been processed.
Syntax
'Declaration
 
Public ReadOnly Property Percent As Short
'Usage
 
Dim instance As ZipReaderByteProgressionEventArgs

Dim value As Short

 

value = instance.Percent
public short Percent {get;}

Property Value

A value representing the percentage of the current file that has been processed. 0 if the uncompressed size is unavailable.
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