18 using System.Reflection;
36 public static int UserId {
get;
set; }
66 public static bool LiveMode {
get;
private set; }
75 Version = Assembly.GetExecutingAssembly().GetName().Version.ToString();
77 if (!
string.IsNullOrWhiteSpace(versionid))
82 var cacheLocation =
Config.
Get(
"cache-location");
83 if (!
string.IsNullOrEmpty(cacheLocation) && !cacheLocation.IsDirectoryEmpty())
100 public const string Cache =
"./cache/data";
105 public static string Version {
get;
private set; }
118 if (result.IsDirectoryEmpty())
120 result = Path.Combine(
DataFolder, relativePath);