mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-02-16 13:15:07 +00:00
feat: Added method for getting a path in the ProgramData directory
This commit is contained in:
@@ -279,6 +279,16 @@ namespace ICD.Common.Utils
|
|||||||
return Join(ProgramConfigPath, local);
|
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>
|
/// <summary>
|
||||||
/// Returns true if the given path exists.
|
/// Returns true if the given path exists.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
Reference in New Issue
Block a user