I have PDFs that have been protected with Azure Information Protection (AIP) unified labeling client.
It seems that Aspose can open it, but when document is modified and changes are saved, generated PDF is corrupted and cannot be opened in PDF readers (Adobe, Foxit). In my particular scenario I have to remove all file attachments from PDF (see Document.EmbeddedFiles). This operation corrupts PDFs protected with AIP.
So, I need a way to identify files protected with AIP in order to skip processing.
Is there API to detect PDFs protected with different IRM systems (like Azure Information Protection)? If not, could you consider adding such API?
Here is sample PDF sample.pdf (164.3 KB)