FilePasswordRequired Property

This property describes whether or not the current file has been encrypted or not and requires a password to decompress.

Syntax

ANSI (Cross Platform)
int GetFilePasswordRequired(int iFileIndex);

Unicode (Windows)
BOOL GetFilePasswordRequired(INT iFileIndex);
- (BOOL)filePasswordRequired:(int)fileIndex;
#define PID_ZIP_FILEPASSWORDREQUIRED 22

IPWORKSZIP_EXTERNAL void* IPWORKSZIP_CALL IPWorksZip_Zip_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);

IPWORKSZIP_EXTERNAL int IPWORKSZIP_CALL IPWorksZip_Zip_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

FALSE

Remarks

This property describes whether or not the current file has been encrypted or not and requires a password to decompress. It is populated after the archive has been scanned.

The FileIndex parameter specifies the index of the item in the array. The size of the array is controlled by the FileCount property.

This property is read-only and not available at design time.

Data Type

Boolean

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks ZIP 2020 C++ Edition - Version 20.0 [Build 8300]