We have a requirement to identify weather a workbook and worksheet is protected with password or empty password. Do we have any methods in Aspose for this.
we have tried the following and is working perfectly if this has a valid password
If oBook.Worksheets("ABC").IsProtected Then
Now we have issue with workbook/worksheet protected with empty password. Is there a way by which we can identify if the password is empty or has a valid length. We tried
oBook.Settings.Password --> this is always giving nothing