mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-01-11 19:44:55 +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);
|
||||
}
|
||||
|
||||
/// <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>
|
||||
|
||||
Reference in New Issue
Block a user