C# directory to "play with"

Posted by Adam S on Stack Overflow See other posts from Stack Overflow or by Adam S
Published on 2010-06-09T15:42:17Z Indexed on 2010/06/09 15:52 UTC
Read the original article Hit count: 130

Filed under:
|

Simple question here. I have a C# program which needs to stores some files onto the hard drive, but I don't need them to be anywhere useful to the end-user, only somewhere that the program can read/write from.

Is there a directory that I can reference programmatically to be my "filespace playground" - that is, that I can read/write freely to and from?

EDIT: Also, if I use a temp directory, how long are the files guaranteed to be there? I don't want the them to disappear while my program is still running!

© Stack Overflow or respective owner

Related posts about c#

Related posts about Windows