How do I detect if a PDF contains embedded attachments?

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

A:

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:

https://groups.google.com/d/topic/pdfnet-sdk/CKd7KjJMvfQ/discussion

https://groups.google.com/d/topic/pdfnet-sdk/gA8o_eKVG7c/discussion

https://groups.google.com/d/msg/pdfnet-sdk/E5O9oDXDIg4/I19oYLciDeEJ