Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / August 2007

Tip: Looking for answers? Try searching our database.

Getting File summary information

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Matt - 23 Aug 2007 15:23 GMT
Is there a .net/windows api way to get/set the fields of the summary
information in the file properties window?  I know that this information is
stored as an alternate data stream in ntfs, but I cannot find a good way of
accessing it.  If there is not a good way of getting it via api, is there a
good way to read/write fields in this stream?
Nicholas Paldino [.NET/C# MVP] - 23 Aug 2007 15:47 GMT
Matt,

   Here is a page that shows how to get it calling some API functions and
COM interfaces:

http://users.telenet.be/ws36637/properties.html

   You could access this through the P/Invoke layer and COM interop to get
the summary.

   I could have sworn there was an object that MS provided which made this
easier.  If I come across it, I'll post the url.

Signature

         - Nicholas Paldino [.NET/C# MVP]
         - mvp@spam.guard.caspershouse.com

> Is there a .net/windows api way to get/set the fields of the summary
> information in the file properties window?  I know that this information
> is stored as an alternate data stream in ntfs, but I cannot find a good
> way of accessing it.  If there is not a good way of getting it via api, is
> there a good way to read/write fields in this stream?
Arne Vajhøj - 25 Aug 2007 02:39 GMT
> Is there a .net/windows api way to get/set the fields of the summary
> information in the file properties window?  I know that this information is
> stored as an alternate data stream in ntfs, but I cannot find a good way of
> accessing it.  If there is not a good way of getting it via api, is there a
> good way to read/write fields in this stream?

Try look at:

http://www.codeproject.com/csharp/ntfsstreams.asp?df=100&forumid=4446&exp=0&sele
ct=890716


Arne

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.