2023-02-16 12:57:06 +00:00
|
|
|
using static System.Environment;
|
|
|
|
using static System.Environment.SpecialFolder;
|
|
|
|
|
2023-02-25 14:53:58 +00:00
|
|
|
namespace InnovEnergy.Lib.SysTools;
|
2023-02-16 12:57:06 +00:00
|
|
|
|
2023-02-25 15:16:12 +00:00
|
|
|
[Obsolete]
|
2023-02-16 12:57:06 +00:00
|
|
|
public static class SysDirs
|
|
|
|
{
|
2023-03-20 12:40:31 +00:00
|
|
|
public static SysPath CurrentDirectory => Environment.CurrentDirectory;
|
|
|
|
public static SysPath TempDirectory => Path.GetTempPath();
|
2023-02-16 12:57:06 +00:00
|
|
|
|
|
|
|
public static SysPath UserHomeDirectory { get; } = GetFolderPath(UserProfile);
|
|
|
|
public static SysPath UserDesktopDirectory { get; } = GetFolderPath(DesktopDirectory);
|
|
|
|
}
|