Checks whether this C1ZipEntry can be read with the currently set password.
Namespace:
C1.C1ZipAssembly: C1.Phone.Zip (in C1.Phone.Zip.dll)
Syntax
C# |
---|
public bool CheckPassword() |
Visual Basic |
---|
Public Function CheckPassword As Boolean |
Return Value
True if the entry can be read with the current password, or if the entry is not encrypted.
Remarks
This method is more efficient than using a try/catch block and trying to open the entry
to determine whether the current password is valid for the entry.