Table of Contents

Property RequiresPasswordToOpen

Namespace
BitMiracle.Docotic.Pdf
Assembly
BitMiracle.Docotic.Pdf.dll

RequiresPasswordToOpen

Gets a value indicating whether the document can be opened without password.

public bool RequiresPasswordToOpen { get; }

Property Value

bool

true if the document can be opened without password; otherwise, false.

Remarks

An encrypted document can have owner password only. In this case it is allowed to open the document without a password (with possibly limited set of permissions).

The Decrypt PDF documents in C# and VB.NET article contains examples of using this property.