Argonaut.MainWindow.GetTempDirectory C# (CSharp) Méthode

GetTempDirectory() public méthode

public GetTempDirectory ( ) : string
Résultat 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\";
        }