Hiding Files

I am looking for a way to hide files using c#. I know about changing the file attributes to hidden but I want to hide them regardless of the users view settings(ie. show hidden files). There are tons of programs out there that do this but I cant seem to find any examples of how. Any help would be greatly appreciated.

Thank's
Brad


Answer this question

Hiding Files

  • LouisPeter

    I like that idea but ideally I was looking for a solution to hide and unhide as needed. I know there are programs out there that do this I have used them. I was thinking they might remove the entry from the File Allocation Table If thats true is there a way to do it in c# Or can I still disguise them as "BAD" clusters to the OS Thanks for the input. :)

    Brad

  • jport

    (This reminds the old good DOS days when I hid my files under "BAD" clusters....)

    Since you said "any" help, here it goes - how about hide your data into some other file formats such as a wav file The wav file have data blocks that you can put your own data. The media players / sound players will play the sound fine even you have extra data stuffed inside.



  • Hiding Files