Код: Выделить всё
string appDataPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "myapplication");
var cfgBuilder = new ConfigurationBuilder()
.AddJsonFile(Path.Combine(appDataPath, $"config.json"), optional: true, true);
var config = cfgBuilder.Build();
Подробнее здесь: https://stackoverflow.com/questions/797 ... -to-update
Мобильная версия