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
stringThe absolute or relative file path to the INI document.
encoding
EncodingOptional. The encoding used to read the file. Defaults to UTF-8.