Skip to content

IFileSystem.CreateFile method

Creates a file for writing, optionally overwriting it if it already exists.

public Stream CreateFile(string path, bool overwrite = true)
parameter description
path The path of the file to create.
overwrite true to overwrite the file if it already exists.

Return Value

A stream for writing to the created file.

See Also