You can use SharpConfig to read, modify and save configuration files and streams, in either text or binary format. Minimalistic, fully portable (.NET Standard 2.0), zero package dependencies.