@Dhivya
Thanks for contacting support.
Please note that it is always recommended to use latest version of the API - as it contains more fixes and enhancements. We have tested the scenario in our environment while using Aspose.PDF for .NET 18.5 and were unable to notice mismatch output than the original. For your reference, we have also attached screenshots of console outputs along with code snippet:
Document pdfDocument = new Document(dataDir + "LEAR.pdf");
// Get document information
DocumentInfo docInfo = pdfDocument.Info;
// Show document information
Console.WriteLine("Author: {0}", docInfo.Author);
Console.WriteLine("Producer: {0}", docInfo.Producer);
Console.WriteLine("Creation Date: {0}", docInfo.CreationDate);
Console.WriteLine("Keywords: {0}", docInfo.Keywords);
Console.WriteLine("Modify Date: {0}", docInfo.ModDate);
Console.WriteLine("Subject: {0}", docInfo.Subject);
Console.WriteLine("Title: {0}", docInfo.Title);
LEAR.png (13.6 KB)
Professional…png (16.8 KB)
Please try again with latest version of the API and in case you still face any issue, please feel free to let us know.