Argonaut.MainWindow.GetTempDirectory C# (CSharp) Method

GetTempDirectory() public method

public GetTempDirectory ( ) : string
return string
        public string GetTempDirectory()
        {
            string path = System.IO.Path.GetRandomFileName();
            string tempPath = System.IO.Path.GetTempPath();
            Directory.CreateDirectory(System.IO.Path.Combine(tempPath, path));
            return tempPath + path + "\\";
            //return @"C:\users\jeff\Desktop\";
        }