Steps
- Create a PDF with Foxit PhantomPDF Printer V 3.1.0.0815 - Set Security
- Open Password
- 128-bit AES
- Metadata Not Encrypted
- See attachment "Created with Foxit - Password is xxx.pdf"
- Open with Aspose.PDF 7.6, 7.9 will throw exception
Aspose.Pdf.Facades.PdfFileInfo fileInfo = new Aspose.Pdf.Facades.PdfFileInfo(file); fileInfo.HasOpenPassword;
Throws "PdfFileInfo is not initialized. Use constructors with parameters or properties for initialization." Reason "Object reference not set to an instance of an object." new
AsposePdf.Document(file, password);
Throws "Object reference not set to an instance of an object."v