Code Snippet posted by:
Madhu.b.rokkam | Posted on: 2/27/2011 | Category:
C# Codes | Views: 2431 | Status:
[Member] [MVP] |
Points: 40
|
Alert Moderator
string tempFileName = Path.GetTempFileName();
Console.WriteLine(tempFileName);
output
C:\Users\Madhu\AppData\Local\Temp\tmp6B27.tmp
Path.GetTempFileName() - Creates a new temp file in the temp folder.
Thanks and Regards
Madhu
Found interesting? Add this to: