AdvancedGetFileHandlerWriteFile Method |
Streams the data file to the response.
Namespace: CMS.UIControlsAssembly: CMS.UIControls (in CMS.UIControls.dll) Version: 9.0.0
Syntax 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:
ByteReturns streamed binary data if requested by
returnOutputData. Binary data are never returned for range requests.
See Also