Skip to content

PDFFile.IsPDFFileOwnerPassword Method

IsPDFFileOwnerPassword(Stream,String)

Verifies if the password matches the owner password set on the PDF file.

C#
public static bool IsPDFFileOwnerPassword(Stream stream, string password)

Parameters

stream Stream

Stream that contains the PDF file.

password String

Password to verify.