PdfPrintIsPasswordProtected Method (String)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(
	string fileName
)

Parameters

fileName
Type: SystemString
PDF file name

Return Value

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

Reference