fileEncryptionType (property)
The type of encryption applied to the file.
Syntax
- (int)fileEncryptionType:(int)fileIndex;
/* Possible Values */
AET_DEFAULT(0),
AET_NO_ENCRYPTION(1),
AET_GENERIC(2),
AET_WIN_ZIP(3),
AET_STRONG(4)
public func fileEncryptionType(fileIndex: Int32) throws -> ArchivereaderFileEncryptionTypes
public enum ArchivereaderFileEncryptionTypes : Int32 { case aetDefault = 0 case aetNoEncryption = 1 case aetGeneric = 2 case aetWinZip = 3 case aetStrong = 4 }
Default Value
0
Remarks
The type of encryption applied to the file.
Use this property to find out what kind of encryption was applied to the file.
aetDefault (0) | Default encryption (not used for already encrypted files) |
aetNoEncryption (1) | No encryption |
aetGeneric (2) | Standard ZIP encryption |
aetWinZip (3) | WinZIP-based encryption |
aetStrong (4) | Strong encryption |
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.