Hello,
Hi Roi,
Hi,
Hi Roi,
Thanks Mudassir!
The issues you have found earlier (filed as SLIDESNET-35379) have been fixed in this update.
This message was posted using Notification2Forum from Downloads module by Aspose Notifier.
(4)
Hi Mudassir,
I tried to do this with the new version (14.5.0) but I didn’t succeed.
(I saw “Aspose.Slides.IPresentationInfo interface and PresentationInfo class have been added” in
http://www.aspose.com/community/files/51/.net-components/aspose.slides-for-.net/entry560171.aspx)
Can you please help me to know how to check if ppt file is password protected (without trying to load it and get an exception…)
Thanks.
Roi
Hi Roi,
I have observed the requirement shared by you and suggest you to please try using the following sample code on your end to verify the presentation as password protected or not without loading that.
IPresentationInfo info;Please, share if I may help you further in this regard.
info = PresentationFactory.Instance.GetPresentationInfo(m_rootFolder + “\Password\open.ppt”);
Assert.AreEqual(info.LoadFormat, LoadFormat.Ppt);
Assert.IsFalse(info.IsEncrypted);
Many Thanks,
Hi Mudassir,
Thanks! It works!
I impelemented it this way:
if (PresentationFactory.Instance.GetPresentationInfo(m_rootFolder + “\Password\open.ppt”).IsEncrypted)
result = true;
Have a nice day,
Roi.