views:

58

answers:

3

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

http://my.jetscreenshot.com/2777/20100713-vu9m-31kb.jpg

but what if i need custom metadata like tags for example

is it possible to do it with C#?

A: 

This will depend on whether the file type you are working with supports this. For example this will not be possible with a text file.

Darin Dimitrov
i need it for office files (doc, xls, ppt...) and PDFs
msony
A: 

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 files-system. Office files uses a structured format that allows for attributes.

Henk Holterman
A: 

If using NTFS you can store whatever you like in an Alternate data stream

Jesper Palm