Click or drag to resize
GetFilePageWriteFile Method
Streams the data file to the response.

Namespace: CMS.UIControls
Assembly: CMS.UIControls (in CMS.UIControls.dll) Version: 8.2.23
Syntax
C#
protected virtual byte[] WriteFile(
	string filepath,
	bool returnOutputData = false
)

Parameters

filepath
Type: SystemString
File path
returnOutputData (Optional)
Type: SystemBoolean
If true, output data is returned

Return Value

Type: Byte
See Also