mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-02-15 20:54:58 +00:00
Add path to program directory
This commit is contained in:
@@ -19,6 +19,19 @@ namespace ICD.Common.Utils
|
|||||||
[PublicAPI]
|
[PublicAPI]
|
||||||
public static string RootPath { get { return IcdDirectory.GetDirectoryRoot("\\"); } }
|
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>
|
/// <summary>
|
||||||
/// Gets the path to the NVRAM directory.
|
/// Gets the path to the NVRAM directory.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
Reference in New Issue
Block a user