mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-04-12 03:57:32 +00:00
feat: Added method for getting a path in the ProgramData directory
This commit is contained in:
parent
7cf3d18127
commit
7870d2c375
1 changed files with 10 additions and 0 deletions
|
|
@ -279,6 +279,16 @@ namespace ICD.Common.Utils
|
|||
return Join(ProgramConfigPath, local);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Appends the local path to the program data path.
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static string GetProgramDataPath(params string[] localPath)
|
||||
{
|
||||
string local = Join(localPath);
|
||||
return Join(ProgramDataPath, local);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns true if the given path exists.
|
||||
/// </summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue