Medium
Terrasoft.File.Abstractions namespace.
The Terrasoft.File.Abstractions.FileUtils class provides extension methods for file management.
Methods
Sets the file attributes to the values passed in the attributes collection.
Saves the metadata of the file.
Reads the content of the file.
Writes the content of the file.
Parameters
source | The file whose contents is to be written |
stream | The stream that provides the file content. |
writeOptions | Parameters for writing the file. |
content | The file content as an array of bytes. |
Deletes the specified file.
Copies the existing source file to the new target file.
Moves the existing source file to the new target destination.