IniFile_dotNET 1.0.2

Reading/Writing an INI file. "INI" files are widely used throughout the Windows operating system.

Install-Package IniFile_dotNET -Version 1.0.2
dotnet add package IniFile_dotNET --version 1.0.2
<PackageReference Include="IniFile_dotNET" Version="1.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add IniFile_dotNET --version 1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

IniFile
.NET object class for handling creation, reading, and writing of INI Files.

Features:
Full read/write/creation support.
Easy to use: most operations can be done with a single line of code.
Supports comments at the section and key level.
Supports implied and manual ordering of sections and keys.
Full intellisense comments included.

Example:
// Creates or loads an INI file in the same directory as your executable
var MyIni = new ManagementINI("Settings.ini");

// You can write some values like so:
MyIni.put("screen_width", "800");
MyIni.put("screen_height", "600");

// Optionally, you can set [Section]'s:
MyIni.put("screen_height", "600", "CONFIG");

// You can also check for the existence of a key like so:
if (!MyIni.containsValue("DefaultLanguage", "CONFIG"))
MyIni.put("DefaultLanguage", Setting.getDefaultLanguage(), "CONFIG");

// To read the values out of the INI file:
var width = MyIni.get("CONFIG", "screen_width");

IniFile
.NET object class for handling creation, reading, and writing of INI Files.

Features:
Full read/write/creation support.
Easy to use: most operations can be done with a single line of code.
Supports comments at the section and key level.
Supports implied and manual ordering of sections and keys.
Full intellisense comments included.

Example:
// Creates or loads an INI file in the same directory as your executable
var MyIni = new ManagementINI("Settings.ini");

// You can write some values like so:
MyIni.put("screen_width", "800");
MyIni.put("screen_height", "600");

// Optionally, you can set [Section]'s:
MyIni.put("screen_height", "600", "CONFIG");

// You can also check for the existence of a key like so:
if (!MyIni.containsValue("DefaultLanguage", "CONFIG"))
MyIni.put("DefaultLanguage", Setting.getDefaultLanguage(), "CONFIG");

// To read the values out of the INI file:
var width = MyIni.get("CONFIG", "screen_width");

Release Notes

First release.

Dependencies

This package has no dependencies.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.2 193 8/15/2018
1.0.1 146 8/14/2018
1.0.0 161 8/14/2018