elgdav said:
Hello, is it possible in C# to create a file which is unreadable (i.e.
no program can open it at all)
Even garbage can be read by something, even if it has to be a hex editor.
So, no, you cannot create a file that cannot be read by anything. Can you
create random garbage? Yes. Can you create encrypted files that a person
cannot steal information from? Yes. Can you make it absoluletely impossible
for anyone to read it no matter what effort they put into it? No, esp. if
you put it on their machine.
and also at a later point to delete it?
Yes, you can delete files that you create, garbage or otherwise.
Hope this helps!
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
*************************************************
Think outside of the box!
*************************************************