👉 Try the demo: https://github.com/LM-Kit/lm-kit-net-samples/tree/main/console_net/document-intelligence/pdf-toolkit/pdf_metadata_inspector
PDF Metadata Inspector for C# .NET Applications
🎯 Purpose of the Demo
Read-only inspection pass: title, author, subject, keywords, creator, producer, dates, page count, PDF version, XMP block, security handler revision, document permissions, and per-page sizes.
✨ Key Features
PdfInfo.GetMetadata(path)->PdfMetadata { Title, Author, Subject, Keywords, Creator, Producer, CreationDate, ModDate, PageCount, FileVersion, XmpMetadata }.PdfInfo.GetSecurityHandlerRevision(path)returns 0 if not encrypted.PdfInfo.GetPermissions(path)returns theDocumentPermissionsflags (Print, Copy, Modify, Annotate, ...).PdfInfo.GetPageInfo(path, pageIndex)->PdfPageInfo { Width, Height, Orientation, IsTextOnly }.
⚙️ Getting Started
cd lm-kit-net-samples/console_net/document-intelligence/pdf-toolkit/pdf_metadata_inspector
dotnet run -- C:\docs\contract.pdf