Temp Folder

Tech-Archive recommends: Fix windows errors by optimizing your registry



I am facnig aproblem regarding the Temp Folder

I am using C#.Net
I use a Method
string temp = System.IO.Path.GetTempPath();

This will return the
C;\Document and Setting\John\Local Settings\Temp
but if i am running the same code in remote system then this will
return C:\Tmp

Why So, Please help me ... give the suggestionm for this

Regards,
Tarun Sinha

.