How to access and modify file properties using C# codings?

  • Thread starter Thread starter ywchan
  • Start date Start date
Y

ywchan

I want to access and modify the following file properties
1. when you open an application e.g. word / acrobat reader, those
information in file -> properties.
2. when you right click the file, choose properties, the information stored
in summary

thanks
 
IIRC those properties are stored in the file itself, and the application
registers (at installation, or first tiem executed) a handler that the
system then calls to display those properties when you right-click and
select properties.


HTH
Brian W
 
Such details (certainly for Office documents) are stored as part of the file
structure, which used to be stored using OLE Structured Storage. However I
have never looked at this from a C# example, but you might have something to
go on if you consider SS.
 
Back
Top