Method 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.
public static IniDocument FromStream(Stream stream, Encoding? encoding = null)
Parameters
streamStreamThe input stream where the INI document is.
encodingEncodingOptional. The encoding used to read the stream. Defaults to UTF-8.
Returns
FromStream(TextReader)
Creates an new IniDocument document from the specified TextReader.
public static IniDocument FromStream(TextReader reader)
Parameters
readerTextReaderThe TextReader instance.
English
Русский
Português
Español
Deutsch
中文 (简体)
日本語