onDecryptionPasswordNeeded (event)
Requests a decryption password, when needed.
Syntax
- (void)onDecryptionPasswordNeeded:(NSString*)passwordTarget :(int*)cancel;
func onDecryptionPasswordNeeded(_ passwordTarget: String, _ cancel: inout Int32)
Remarks
Class fires this event when it needs a password to decrypt the archive. Subscribe to this event if you expect to process encrypted archives.
Inside the event handler, please assign the correct password to DecryptionPassword property, or set Cancel parameter to true to terminate the processing.