Quantcast
Viewing all articles
Browse latest Browse all 3131

Attached document does not raise "Invalid Password" when Document object is constructed

With the attached document, if I run the following code:
            
            string filePath = @"[PATH]\test.pdf";
            Aspose.Pdf.Document doc = new Aspose.Pdf.Document(filePath);

no "Invalid password" exception is raised. However, if I open this file in Adobe Acrobat or Reader I am prompted with an Open password.

Viewing all articles
Browse latest Browse all 3131

Trending Articles