Retrieve location of Temp folder for Current User

To determine the location of the Temp folder of the current user (generally for writing temporary files) use the following bit of c#:


string tempFolder = System.IO.Path.GetTempPath();

~ by mundeep on March 12, 2008.

Leave a Reply

You must be logged in to post a comment.