I have tested your file and was not able to reproduce the error. I got the same date which was available in the pdf files properties. Please see the screen shot. Also you can get the date with out having to decrypt this file first.
Ok, Could you just let me know how we could programmatically access the file creation date in case the target PDF file has a document open password? I'm asking this question because post decryption with the password the creation date is observed to change to current date rather than the original document creation date. So, is there a way, as you seem to suggest above, of getting the creation date of a PDF file having a document open password without having to decrypt the file? If so, please let me know how to do the same.
When we decrypt a file then a new one is created to the creation date shows up aa current date and it is not possible to get creation date of encrypted file. So I will check with the developers to see if we can support the preservation of creation date.
Our developer points out that the orignal date could be fetched as following: PdfFileInfo pFileInfo = new PdfFileInfo(TestPath + “student-per.pdf”,“Per”); string date = pFileInfo.CreationDate;