IsPasswordProtected

IPresentationInfo.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 a password to open.");
}

See Also