Phil Leggetter - Software Consultant » Page 'C# - Get Windows Temporary Directory'

C# - Get Windows Temporary Directory

Once you know it you'll probably never forget it...but wait, this is the second time I've googled for this. I'd best post how you "get the Windows temporary directory using C#"!

C#:
  1. string tempPath =
  2.     System.IO.Path.GetTempPath();

Leave a comment

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

© 2008 Phil Leggetter - Software Consultant is powered by WordPress