The IniFile class is a lightweight INI-file parser that can be used to easily read and write INI files. It includes direct support for string, int, double and bool setting types.
In addition to reading and writing individual settings, it can return all of the sections in the INI file, and also return all the settings within a particular INI-file section.
The SetSetting() method is overloaded to accept different value types. The GetSetting() method is also overloaded to allow different defaultValue parameter types. The defaultValue parameter specifies the value to return if the setting was not found or could not be converted to the specified type. The defaultValue parameter type also indicates the return type.
See the version list below for details.
Install-Package SoftCircuits.IniFileParser -Version 1.0.5
dotnet add package SoftCircuits.IniFileParser --version 1.0.5
<PackageReference Include="SoftCircuits.IniFileParser" Version="1.0.5" />
paket add SoftCircuits.IniFileParser --version 1.0.5
Added the ability to customer interpretation of Boolean values; Extended unit tests; Minor tweaks;
- No dependencies.
This package is not used by any popular GitHub repositories.