This method checks if a password is required to open this document.

Namespace: TallComponents.PDF
Assembly: TallComponents.PDF.Controls.WinForms (in TallComponents.PDF.Controls.WinForms.dll) Version: 2.0.46.0

Syntax

C#
public static bool PasswordRequired(
	BinaryReader reader
)
Visual Basic
Public Shared Function PasswordRequired ( _
	reader As BinaryReader _
) As Boolean

Parameters

reader
Type: System.IO..::..BinaryReader
Read the document from this reader.

Return Value

True if a password is required, otherwise false.

Remarks

This method does not use exceptions.

See Also