IP*Works! ZIP V9 - Online Help
IP*Works! ZIP V9
Questions / Feedback?

Password Event

Fired when a file is encrypted, and the file's password is incorrect.

Syntax

[VB.NET]
Public Event OnPassword As OnPasswordHandler
[C#]
public event OnPasswordHandler OnPassword;

public delegate void OnPasswordHandler(object sender, ZipPasswordEventArgs e);

class ZipPasswordEventArgs : EventArgs {
  int Index {get;}
  string Password {get; set;}
}

Remarks

This event is fired when the component attempts to uncompress an encrypted file and the decryption fails due to an invalid password. The file may be identified in the collection by the Index parameter.

Setting the Password parameter in this event will cause the component to attempt to decrypt and decompress the file again with the specified password.

If the Password parameter is an empty string when this event completes, an error will occur.

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 9.0.6240.0