mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-02-17 13:45:05 +00:00
Add path to program directory
This commit is contained in:
@@ -19,6 +19,19 @@ namespace ICD.Common.Utils
|
||||
[PublicAPI]
|
||||
public static string RootPath { get { return IcdDirectory.GetDirectoryRoot("\\"); } }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the path to the program directory
|
||||
/// </summary>
|
||||
[PublicAPI]
|
||||
public static string ProgramPath
|
||||
{
|
||||
get
|
||||
{
|
||||
string directoryName = string.Format("Program{0}", ProgramUtils.ProgramNumber);
|
||||
return Join(RootPath, directoryName);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the path to the NVRAM directory.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user