From ebdae96290085483d2b5aeaf56c0bdeaaffd95ea Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Tue, 31 Oct 2017 12:54:44 +0200 Subject: Change Tango.NET to Visual Studio --- Software/Tango.NET/Tango.Core/PathHelper.cs | 32 ----------------------------- 1 file changed, 32 deletions(-) delete mode 100644 Software/Tango.NET/Tango.Core/PathHelper.cs (limited to 'Software/Tango.NET/Tango.Core/PathHelper.cs') diff --git a/Software/Tango.NET/Tango.Core/PathHelper.cs b/Software/Tango.NET/Tango.Core/PathHelper.cs deleted file mode 100644 index 08dbf1c16..000000000 --- a/Software/Tango.NET/Tango.Core/PathHelper.cs +++ /dev/null @@ -1,32 +0,0 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace Tango.Core -{ - public static class PathHelper - { - public static String GetTempFolderPath() - { - String tempDirectory = Path.Combine(Path.GetTempPath(), "Twine", Path.GetRandomFileName()); - Directory.CreateDirectory(tempDirectory); - return tempDirectory; - } - - public static bool TryDeleteFolder(String path) - { - try - { - Directory.Delete(path, true); - return true; - } - catch - { - return false; - } - } - } -} -- cgit v1.3.1