Skip to content

IOFile.Save Method ​

Definition ​

Saves this file to a directory with the specified name.

c#
public string Save(string directory, string name, CompressionFormat compressionFormat = CompressionFormat.MrKWatkins.OakIO.Compression.CompressionFormat);

View source

Parameters ​

NameTypeDescription
directoryStringThe directory to write the file to.
nameStringThe name of the file without extension.
compressionFormatCompressionFormatOptional compression format to use.

Returns ​

String

The full path of the written file.