Get temp file name
using System; using System.IO; class Test { public static void Main() { Console.WriteLine(Path.GetTempFileName()); } }