Search code examples
c#file-iometadataxmp

Is it possible to add custom metadata to file?


I know that each file has metadata like title, subject, keywords and comments:

enter image description here

But what if I need custom metadata like tags for example?

Is it possible to do it with C#?


Solution

  • I know that each file has metadata like title, subject, keywords and comments

    That is not true. Most file types do not have a 'standard' form of metadata.

    In particular, PDF files don't have properties that Windows Explorer recognizes.

    Metadata (file attributes) is not a function of the filesystem.

    • Office files use a structured format that allows for such attributes.
    • Jpeg uses EXIF, a different format.