ini-parser 2.2.0

A .NET, Mono and Unity3d compatible(*) library for reading/writing INI data from IO streams, file streams, and strings written in C#.

Also implements merging operations, both for complete ini files, sections, or even just a subset of the keys contained by the files.

(*) This library is 100% .NET code and does not have any dependencies on Windows API calls in order to be portable.

There is a newer version of this package available.
See the version list below for details.
Install-Package ini-parser -Version 2.2.0
dotnet add package ini-parser --version 2.2.0
<PackageReference Include="ini-parser" Version="2.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ini-parser --version 2.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Supports a new parser for concatenating duplicate keys.
Automatic nuget packaging using the CLI script nuget-pack
Implements a parser that concatenates duplicated keys in a section
Allows access to ini file elements using case insensitive names
Provide better error messages when parsing fails
This PR introduces a new API for checking errors
Changed the FileShare attribute of the FileStream to ReadWrite in FileIniParser
Allow deleting all comments
Fixes ArgumentNullException when parsing sectionless ini file with comments at the end


This package has no dependencies.

NuGet packages (24)

Showing the top 5 NuGet packages that depend on ini-parser:

Package Downloads
MEF catalog and provider for configuration items
A powerful event based API for Elite: Dangerous. VoiceAttack, VoiceMacro, Discord, C#, VB
Asset Management as a Service - Core SDK
Build innosetup iss file with project details
Core assemblies for the .NET version of Pattern Lab

GitHub repositories (8)

Showing the top 5 popular GitHub repositories that depend on ini-parser:

Repository Stars
Game accelerator. Support Socks5, Shadowsocks, ShadowsocksR, V2Ray, Trojan proxies. UDP NAT FullCone
The Comprehensive Kerbal Archive Network
Re-implementation of The Sims Online.
Open-source, cross-platform, multi-purpose security auditing tool
Jexus Manager

Version History

Version Downloads Last updated
2.5.2 416,968 7/23/2017
2.5.0 2,298 7/16/2017
2.4.0 61,704 2/21/2017
2.3.0 58,287 6/1/2016
2.2.4 37,415 12/9/2015
2.2.2 26,419 6/13/2015
2.2.1 936 6/7/2015
2.2.0 994 5/31/2015
2.1.1 17,567 5/28/2014
2.1.0 1,099 4/18/2014
2.0.2 5,857 2/5/2014
2.0.0 761 1/20/2014
1.7.1 8,949 6/6/2012
1.7.0 1,183 10/5/2011
1.6.0 916 10/5/2011
Show less