C
Charlie Calvert
Staying in managed code, what is the best way to get the temp directory
in C# .NET programming? I'm currently using this:
public static String GetTempDir()
{
return Environment.GetEnvironmentVariable("TEMP");
}
I wonder, is there a better solution? This one feels a little system and
OS dependant to me.
Thanks.
- Charlie
in C# .NET programming? I'm currently using this:
public static String GetTempDir()
{
return Environment.GetEnvironmentVariable("TEMP");
}
I wonder, is there a better solution? This one feels a little system and
OS dependant to me.
Thanks.
- Charlie