Sisk

Method

IniDocument.SaveTo

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

SaveTo(string, Encoding?) #

Saves the INI document to a file.

C#
public void SaveTo(string filePath, Encoding? encoding = null)

Parameters #

filePath string

The path to the file where the INI document will be saved.

encoding Encoding?

The encoding to use when writing the file. Defaults to Default.

SaveTo(Stream, Encoding?) #

Saves the INI document to a stream.

C#
public void SaveTo(Stream stream, Encoding? encoding = null)

Parameters #

stream Stream

The stream to which the INI document will be written.

encoding Encoding?

The encoding to use when writing to the stream. Defaults to Default.

Type to search the documentation and the API reference.