mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-04-13 20:47:24 +00:00
Add path to program directory
This commit is contained in:
parent
8d0042aa19
commit
3fc23eca5f
1 changed files with 164 additions and 151 deletions
|
|
@ -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>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue