Hello,
we need to check whether a PDF is Password protected. Here’s how we do it:
using (var pdfFileInfo = new PdfFileInfo(InputFile))
{
return pdfFileInfo.HasOpenPassword;
}
When obtaining the value of “pdfFileInf…...check whether a PDF is password protected. Here’s how we do it:...