We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

FileFormatInfo.IsEncrypted has wrong value for legacy formats if file is encrypted and also write protected

Scenario: Aspose.Cells 8.5.0. I try to test if XLS/XLT is encrypted by means of FileFormatUtil.DetectFileFormat method. Sample XLS is encrypted and write protected.

Issue: IsEncrypted property of FileFormatInfo object has wrong value.

The same for Workbook.Settings.IsProtected: FALSE is returned.

Alex Shloma


Thanks for your posting and using Aspose.Cells.

We were able to observe this issue as mentioned by you with the latest version: Aspose.Cells for .NET 8.5.0. Please also provide us the password to open your source excel file for our further investigation.


Here you are. Both passwords: “1” w/o quotes.

Best regards,
Alex Shloma

Hi Alex,

Thanks for providing the password and using Aspose.Cells.

We were able to observe this issue and logged it in our database for investigation. We will look into it and fix this issue. Once the issue is resolved or we have some other update for you, we will let you know asap.

This issue has been logged as CELLSNET-43737.


Thanks for using Aspose.Cells.

This is to inform you that we have fixed your issue CELLSNET-43737 now. We will soon provide the fix after performing QA and including other enhancements and fixes.


Looking forward to receiving new build.

Best regards,
Alex Shloma

The issues you have found earlier (filed as CELLSNET-43737) have been fixed in this update.

This message was posted using Notification2Forum from Downloads module by Aspose Notifier.