StorageHelperSaveStreamToDisk Method |
Saves the file from given stream to the file system.
Namespace: CMS.IOAssembly: CMS.IO (in CMS.IO.dll) Version: 9.0.0
Syntax public static void SaveStreamToDisk(
string filePath,
Stream str,
bool closeStream = true
)
Parameters
- filePath
- Type: SystemString
File path - str
- Type: System.IOStream
File stream - closeStream (Optional)
- Type: SystemBoolean
If true, fileData stream is closed and disposed after save
See Also