IPresentationInfoIsPasswordProtected Property

Gets a value that indicates whether a binded presentation is protected by a password to open.

Namespace:  Aspose.Slides
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 21.11.0.0 (21.11)
Syntax
bool IsPasswordProtected { get; }

Property Value

Type: Boolean
Examples
[C#]
IPresentationInfo info = PresentationFactory.Instance.GetPresentationInfo(presentationFilePath);
if (info.IsPasswordProtected)
{
    Console.WriteLine("The presentation '" + presentationFilePath + "' is protected by a password to open.");
}
See Also