Wednesday, November 11, 2009

Get the User's Temporary Directory in .NET

System.IO.Path.GetTempPath()

or

Environment.GetEnvironmentVariable("temp")