MobileForms Toolkit Documentation

ZipArchive.PasswordRequired Event

Occurs when the file is encrypted and password is required.

public event PasswordRequiredHandler PasswordRequired;

Event Data

The event handler receives an argument of type PasswordEventArgs containing data related to this event. The following PasswordEventArgs properties provide information specific to this event.

Property Description
FileName Get which file require password.
Password Get or set new password.

Remarks

This function occurs when you try to open encrypted file to read without password specified.

See Also

ZipArchive Class | Resco.IO.Zip Namespace