feat: Added method for getting a path in the ProgramData directory

This commit is contained in:
Chris Cameron
2019-11-05 16:18:24 -05:00
parent 7cf3d18127
commit 7870d2c375

View File

@@ -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>