Sisk

Method

IniDocument.FromStream

Namespace
Sisk.IniConfiguration.Core
Assembly
Sisk.IniConfiguration.Core.dll

FromStream(Stream, Encoding?) #

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

C#
public static IniDocument FromStream(Stream stream, Encoding? encoding = null)

Parameters #

stream Stream

The input stream where the INI document is.

encoding Encoding?

Optional. The encoding used to read the stream. Defaults to UTF-8.

Returns #

IniDocument

FromStream(TextReader) #

Creates an new IniDocument document from the specified TextReader.

C#
public static IniDocument FromStream(TextReader reader)

Parameters #

reader TextReader

The TextReader instance.

Returns #

IniDocument

Type to search the documentation and the API reference.