StorageHelperSaveFileToDisk Method |
Saves the given file to the disk file
Namespace: CMS.IOAssembly: CMS.IO (in CMS.IO.dll) Version: 11.0.0
Syntax public static void SaveFileToDisk(
string filePath,
BinaryData data,
bool closeStream = true
)
Parameters
- filePath
- Type: SystemString
File path - data
- Type: CMS.CoreBinaryData
File data - closeStream (Optional)
- Type: SystemBoolean
If true, and source data is stream, the stream gets closed
See Also