How do I detect if a PDF contains embedded attachments?

I was wondering if there is a way to detect if the pdf file contains embedded file/documents?


You can use PDFNet to detect pdf files with embedded file/documents/attachments.

You may want to search for “file attachment” in this forum).

I found several of relevant articles: