How to get Temporary Folder path in c#?

 Posted by vishalneeraj-24503 on 12/23/2013 | Category: C# Interview questions | Views: 1819 | Points: 40
Answer:

With the help of GetTempPath() method of System.IO.Path class,we can get Temp folder path.

For Example:-

string temp_folder_path = String.Empty;

temp_folder_path = Path.GetTempPath();


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response