[Mono-osx] How to get OSX temp directory?

d_v dan.vandermolen at figpsoft.com
Wed Jan 7 13:09:05 EST 2009


How do I get the system temp directory from a Mac?


System.Environment.GetEnvironmentVariable("TEMP",
EnvironmentVariableTarget.Machine)) works in Windows but not on Mac OS X
10.5.6. and Mono 2.2. RC1

I also tried "TMP", "tmp" but to no avail.

I am trying to write on application for both Windows and Mac OS X. (my first
time)
-- 
View this message in context: http://www.nabble.com/How-to-get-OSX-temp-directory--tp21337022p21337022.html
Sent from the Mono - OSX mailing list archive at Nabble.com.



More information about the Mono-osx mailing list