aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Tango.NET/Tango.Core/PathHelper.cs
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2017-10-31 12:54:44 +0200
committerRoy Ben-Shabat <Roy@Twine-s.com>2017-10-31 12:54:44 +0200
commitebdae96290085483d2b5aeaf56c0bdeaaffd95ea (patch)
tree010fdf909fdad9152ad2befe9f1a42fa721f9f0d /Software/Tango.NET/Tango.Core/PathHelper.cs
parent4fbe47ccac2bdcae52aafa07d6a80176e9606bd9 (diff)
downloadTango-ebdae96290085483d2b5aeaf56c0bdeaaffd95ea.tar.gz
Tango-ebdae96290085483d2b5aeaf56c0bdeaaffd95ea.zip
Change Tango.NET to Visual Studio
Diffstat (limited to 'Software/Tango.NET/Tango.Core/PathHelper.cs')
-rw-r--r--Software/Tango.NET/Tango.Core/PathHelper.cs32
1 files changed, 0 insertions, 32 deletions
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;
- }
- }
- }
-}