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

pablosantosluac at terra.es pablosantosluac at terra.es
Wed Jan 7 19:07:46 EST 2009

Why don't you just use:


We do it with Plastic all the time.

d_v escribió:
> 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)

More information about the Mono-osx mailing list