Click or drag to resize
StorageHelperSaveFileToDisk Method
Saves the given file to the disk file

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