Accessing File Properties (such as Title, Subject,Author,Keywords etc...) from .NET
Posted on 2004-09-05
In Windows, when I look at the properties for a file, I see a summary tab that has the Title, Subject, Author, Keywords and Comments.
Can I access these through .NET (I write in C#)?
I would like to develop an image applicaton that reads the Comments from the Summary tab of the file properties to use as a caption for the image - ideally I would love to be able to read and write these properties.
I can't find anything in System.IO, but I am looking for something like:
//get the comments from the summary
string stCaption = File.Properties.Comments;
The application will run on a windows server.
Thanks in advance