PdfPrintIsPasswordProtected Method (Byte)Terminal Works - PDF Printing.Net Library
Checks if the PDF file is password protected.

Namespace: PdfPrintingNet
Assembly: PdfPrintingNet (in PdfPrintingNet.dll) Version: 5.1.1.0 (5.1.1.0)
Syntax

public bool IsPasswordProtected(
	byte[] pdfArray
)

Parameters

pdfArray
Type: SystemByte
PDF byte array content

Return Value

Type: Boolean
True if PDF file is password protected, otherwise false.
See Also

Reference