Answer by Simeon Bartley for Reading and writing to a custom config in c#
If anyone does need to save changes to a custom config file (in this instance for a config file with the same name as the dll assembly):ExeConfigurationFileMap fileMap = new...
View ArticleAnswer by Tommaso Belluzzo for Reading and writing to a custom config in c#
Why don'y you just use the settings designer (Settings.settings file in your project)?
View ArticleAnswer by theodox for Reading and writing to a custom config in c#
If all you need is really simple key-value pairs (like an old .ini or .cfg file), there's also local storage from ApplicationData.Current:ApplicationData.Current.LocalSettings.Values["test"] = "Setting...
View ArticleAnswer by Richard Schneider for Reading and writing to a custom config in c#
I would have my custom config as a class and then use the XmlSerializer to read and write the config values.public class MyConfig{ const string configPath = @"..."; public string Setting1 { get; set; }...
View ArticleReading and writing to a custom config in c#
Is there a lib in c# that will allow you to read and write to a config or some kind of profile?I am not talking about the app.config but more like a custom.config similar to the ol .ini file where...
View Article