Point Deep

Mundeep’s Tech Blog

Retrieve location of Temp folder for Current User

Posted by mundeep on March 12, 2008

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();

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>