How to programmatically read/edit File Properties?

  • Thread starter Thread starter roshan
  • Start date Start date
R

roshan

Using the File Explorer, I can right-click on a word/pdf
document and view/edit its properties
like "Author", "Comments" etc. How do I programmatically
read/update those properties in either win32 or .net
framework?

Thanks in advance,
Roshan
 
Hi,

Using the COM API you can use the IPropertyStorage and IPropertySetStorage
interfaces to access the properties of a structured storage, I am not aware
of any .NET classes/methods to access this information.

The KB article Q186898 might ge a good starting point.

Hope this helps

Chris Taylor
 
Back
Top