Windows Phone Developers

Showing posts with label .NET Temporary Folder. Show all posts
Showing posts with label .NET Temporary Folder. Show all posts

Thursday, October 30, 2008

How to get Temporary Folder using .NET (C#)

How to get path of the current system's temporary folder using .NET (C#)

Temporary folders are useful to store simple logs during execution of the program. It is also used for storing the decompressed files before any operation. The folder location varies from OS to OS. The following C# snippet would help in retrieving the Temporary folder path

string sPath;

sPath = Path.GetTempPath();

Console.WriteLine("Temporary Path := " + sPath );

Temporary Folder using .NET (C#), C# Temporary Folder, C# Temp Folder, .NET Temporary Folder, .NET Temp Folder

Digg Technorati Delicious StumbleUpon Reddit BlinkList Furl Mixx Facebook Google Bookmark Yahoo
ma.gnolia squidoo newsvine live netscape tailrank mister-wong blogmarks slashdot spurl StumbleUpon