Table of Contents

Method FromFile

Namespace
Sisk.IniConfiguration
Assembly
Sisk.IniConfiguration.dll

FromFile(string, Encoding?)

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

public static IniDocument FromFile(string filePath, Encoding? encoding = null)

Parameters

filePath string

The absolute or relative file path to the INI document.

encoding Encoding

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

Returns

IniDocument