Table of Contents

Class IniDocument

Namespace
Sisk.IniConfiguration
Assembly
Sisk.IniConfiguration.dll

Represents an INI configuration document.

public sealed class IniDocument
Inheritance
IniDocument
Inherited Members

Properties

Global

Gets the global INI section, which is the primary section in the document.

Sections

Gets all INI sections defined in this INI document.

Methods

FromFile(string, Encoding?)

Creates an new IniDocument document from the specified file using the specified encoding.

FromStream(Stream, Encoding?)

Creates an new IniDocument document from the specified stream using the specified encoding.

FromStream(TextReader)

Creates an new IniDocument document from the specified TextReader.

FromString(string)

Creates an new IniDocument document from the specified string, reading it as an UTF-8 string.

GetSection(string)

Gets an defined INI section from this document. The search is case-insensitive.