Hi,
I'm using Syncfusion.Pdf.Parsing.PdfLoadedDocument in VB.NET to read a pdf document. I'd like to know how to know whether the document is password protected. I've seen that
Syncfusion.Pdf.Parsing.PdfLoadedDocument.Security
has a protected property called "Enabled" which seems to be exactly what I want... only it is friend. What is the correct way of determining if the pdf is password protected? I've tried reading the
Syncfusion.Pdf.Parsing.PdfLoadedDocument.Security.Permissions
property and comparing it to
Syncfusion.Pdf.Security.PdfPermissionsFlags.Default,
but it just doesn't feel right. Any help would be highly appreciated.
Thanks, Felix