How to get the system temp directory

How to get the system temp directory