Hi,
Trying to check whether PDFs have any security before I process them through my .Net application - want to show warning message if Secured file.
Tried using SetPrivilege (DocumentPrivilege.Assembly) on a file I know to be secured by password - but that reports it returns true and blank output file produced.
What’s the best way to simply check if a PDF file is secured? Would looking at fileinfo work?
Thanks.
sorted it - using PdfFileInfo and checking BeEncrypted value.