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 );
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.