Results 1 to 3 of 3

Thread: [RESOLVED] Reading metadata from a file

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Sep 2018
    Posts
    160

    Resolved [RESOLVED] Reading metadata from a file

    Hi

    What's the easiest way to access a given file's metadata?

    I've got a bunch of pdf files and I need to read some of the PDF Information fields - title, subject and producer - and some of the general file fields - specifically the tags field.

    I've done some googling but can't find anything I can use - I was hoping it was going to be as simple as File.GetCreationTime(filename)

    Can anyone help?

    Thanks!

  2. #2
    PowerPoster Zvoni's Avatar
    Join Date
    Sep 2012
    Location
    To the moon and then left
    Posts
    5,261

    Re: Reading metadata from a file

    Last edited by Zvoni; Tomorrow at 31:69 PM.
    ----------------------------------------------------------------------------------------

    One System to rule them all, One Code to find them,
    One IDE to bring them all, and to the Framework bind them,
    in the Land of Redmond, where the Windows lie
    ---------------------------------------------------------------------------------
    People call me crazy because i'm jumping out of perfectly fine airplanes.
    ---------------------------------------------------------------------------------
    Code is like a joke: If you have to explain it, it's bad

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Sep 2018
    Posts
    160

    Re: Reading metadata from a file

    Thanks - oddly enough I'd just found that after I posted and am trying it now!

    EDIT: That works well - thanks!
    Last edited by Precision999; Oct 10th, 2022 at 08:46 AM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width