vshed.IO.INI 1.1.2

dotnet add package vshed.IO.INI --version 1.1.2
NuGet\Install-Package vshed.IO.INI -Version 1.1.2
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="vshed.IO.INI" Version="1.1.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add vshed.IO.INI --version 1.1.2
#r "nuget: vshed.IO.INI, 1.1.2"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install vshed.IO.INI as a Cake Addin
#addin nuget:?package=vshed.IO.INI&version=1.1.2

// Install vshed.IO.INI as a Cake Tool
#tool nuget:?package=vshed.IO.INI&version=1.1.2

INI Library

This is a .Net 4.0 DLL file which can read in an entire INI file and allow easy access to the Section/Key/Value combinations. Values can also be updated and saved back to the source file or another file path.

Example Usage

    using vshed.IO.INI;

    //Read in file via constructor and loop though Sections and KeyValuePairs
    INIFile file = new INIFile("C:\someFile.ini");
    foreach(Section s in file.Sections)
    { 
            console.WriteLine(s.Name);
            foreach(KeyValuePair e in s.Elements)
            {
                    console.WriteLine(s.Key + " = " + s.Value);
            }
    }

    //Read in file and loop though all Sections, KeyValuePairs, and comments
    file.Read("C:\someOtherFile.ini");        
    foreach(Section s in file.Sections)
    { 
            foreach(string c in file.Sections.Comments) {console.WriteLine(c);}
            console.WriteLine(s.Name);
            foreach(KeyValuePair e in s.Elements)
            {
                    foreach(string c in e.Comments) {console.WriteLine(c);}
                    console.WriteLine(s.Key + " = " + s.Value);
            }
    }
Product Compatible and additional computed target framework versions.
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.1.2 609 5/26/2019
1.1.1 499 5/26/2019
1.1.0.41252 538 5/10/2019