Copyright © 2011-2018 MultiMedia Soft

ZIP.EntryUncompressedSizeGet method

Previous pageReturn to chapter overviewNext page



Obtains the uncompressed size of a specific entry available inside a ZIP file session previously opened through the ZIP.Open method or created through the ZIP.Create method.


This method should be invoked before using the ZIP.EntryExtractToMemory method in order to understand the exact size of the buffer needed for storing the entry.

As a second feature, this method allows understanding if an entry with a specific name already exists.


For further details about methods for ZIP management refer to the ZipMan class.

For details about using ZIP management refer to the How to manage ZIP files tutorial.





[Visual Basic]

Public Function EntryExtractToMemory (

strEntryName as String,

ByRef nSize as Int32

) as enumErrorCodes



public enumErrorCodes EntryUncompressedSizeGet (

string strEntryName,

ref Int32 nSize




public: enumErrorCodes EntryUncompressedSizeGet (

string strEntryName,

Int32 __gc *nSize









String representing the name of the entry of interest.


Reference that, on return from the method call, will contain the size, expressed in bytes, of the uncompressed entry.



Return value






Negative value

An error occurred. Check the LastError property value in order to see the last error.

enumErrorCodes.ERR_NOERROR (0)

The method call was successful.