Xceed Zip Compression Library Documentation
ZipOpenedFiles property
Xceed Zip control reference > Xceed Zip control properties > ZipOpenedFiles property

The ZipOpenedFiles property determines whether files that are currently opened for writing by another process or application should be skipped or not when running the Zip method.

Setting the ZipOpenedFiles property to False will cause any files currently opened for write operations to be skipped. The SkippingFile event is triggered whenever a file is skipped in this way.

Setting the ZipOpenedFiles property to True will allow Xceed Zip to attempt to zip the file despite it being opened for writing. When in this mode, you should verify that nothing is actually being written to the file at the moment it is being zipped, because the file may be zipped in an inconsistent state.

Data type

Boolean

Default value

False

Declaration (DLL API)  

BOOL XzGetZipOpenedFiles( HXCEEDZIP hZip )

void XzSetZipOpenedFiles( HXCEEDZIP hZip, BOOL bValue )

Applicable methods

Zip