Path.GetTempPath() method can be used to retreive temporary folder path on user's system. Don't forget to import System.IO namespace.
string tempFolderPath;
tempFolderPath= Path.GetTempPath();
Console.WriteLine("Temp Path= " + tempFolderPath);
No comments:
Post a Comment