| 123456789101112131415 |
- using System.IO;
- namespace EEMSUIClient.Data;
- public class ConfigPath
- {
- private string SettingsFolder { get; } = $"{AppDomain.CurrentDomain.BaseDirectory}/Settings";
- private string IpAddressFileName { get; } = "IpAddressInformation.json";
- private string DeviceInfoFileName { get; } = "DeviceInformation.json";
- private string FolderInfoFileName { get; } = "FolderInformation.json";
- public string IPAddressFilePath => Path.Combine(SettingsFolder, IpAddressFileName);
- public string DeviceInfoFilePath => Path.Combine(SettingsFolder, DeviceInfoFileName);
- public string FolderInfoFilePath => Path.Combine(SettingsFolder, FolderInfoFileName);
- }
|