Multiprocotol Terminalprogram (BAT)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
1.1 KiB

using System;
namespace MultiTerm.Wpf;
static internal class Common
{
private const string folderName = "MultiTerm";
private const string logfileFolderName = "logs";
private const string configFileName = "multiterm-config.xml";
private static readonly string appDataPath = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData);
/// <summary>
/// Base directory path for all app data of this application
/// </summary>
public static readonly string BaseAppDataDirectory = $"{appDataPath}/{folderName}/";
/// <summary>
/// Full path of config file incl. file name and extension.
/// </summary>
public static readonly string ConfigFilePath = $"{BaseAppDataDirectory}/{configFileName}";
/// <summary>
/// Directory path where logfiles are stored.
/// </summary>
public static readonly string LogFilesDirectory = $"{appDataPath}/{folderName}/{logfileFolderName}/";
/// <summary>
/// Logfile name incl. extension.
/// </summary>
public const string LogFileName = "multiterm-log-.txt";
}