mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-04-14 04:58:33 +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]
|
||||
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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue