Innovenergy_trunk/csharp/Lib/SysTools/SysDirs.cs

14 lines
480 B
C#

using static System.Environment;
using static System.Environment.SpecialFolder;
namespace InnovEnergy.Lib.SysTools;
[Obsolete]
public static class SysDirs
{
public static SysPath CurrentDirectory => Environment.CurrentDirectory;
public static SysPath TempDirectory => Path.GetTempPath();
public static SysPath UserHomeDirectory { get; } = GetFolderPath(UserProfile);
public static SysPath UserDesktopDirectory { get; } = GetFolderPath(DesktopDirectory);
}