Click or drag to resize
StorageHelperSaveStreamToDisk Method
Saves the file from given stream to the file system.

Namespace: CMS.IO
Assembly: CMS.IO (in CMS.IO.dll) Version: 10.0.0
Syntax
C#
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