Tuesday, June 18, 2013

Manipulating NTFS alternate data streams in C# with the CodeFluent Runtime Client | The CodeFluent Entities Blog

Manipulating NTFS alternate data streams in C# with the CodeFluent Runtime Client | The CodeFluent Entities Blog:

Some ideas where ADS might be useful:
  • If you are writing a program to edit images it will be nice to keep the original image (or even all the modification history) so the user can undo some changes. Instead of keeping separate files you can write all the image versions in the same file using ADS, e.g.image.jpg:original, image.jpg:v1
  • You can store thumbnails for graphical files.
  • Imagine you wrote a “reader” application, you can keep some information like: font size, current page, background color… in the file itself.
Now, THAT is cool.. and useful..

No comments: