Is there any way to find out the current user's directory temp paths in
.NET applications?
For example to read the set variables which in my account are:
TEMP=C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp
TMP=C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp
or another way to retrieve that information?

Signature
Ioannis Vranos
Carl Daniel [VC++ MVP] - 12 Sep 2004 15:29 GMT
> Is there any way to find out the current user's directory temp paths
> in .NET applications?
[quoted text clipped - 5 lines]
>
> or another way to retrieve that information?
For native C++, use getenv() from <stdlib.h>
For managed, use System::Environment::GetEnvironmentVariable from mscorlib.
-cd