ComponentOne Zip for UWP
CheckPassword Method

C1.UWP.Zip Assembly > C1.C1Zip Namespace > C1ZipEntry Class : CheckPassword Method
Checks whether this C1ZipEntry can be read with the currently set password.
Syntax
'Declaration
 
Public Function CheckPassword() As System.Boolean
public System.bool CheckPassword()

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.
See Also

Reference

C1ZipEntry Class
C1ZipEntry Members