IsPasswordProtected
PresentationInfo.IsPasswordProtected property
Gets a value that indicates whether a binded presentation is protected by a password to open.
public bool IsPasswordProtected { get; }
Examples
[C#]
IPresentationInfo info = PresentationFactory.Instance.GetPresentationInfo(presentationFilePath);
if (info.IsPasswordProtected)
{
Console.WriteLine("The presentation '" + presentationFilePath + "' is protected by password to open.");
}
See Also
- class PresentationInfo
- namespace Aspose.Slides
- assembly Aspose.Slides