AdvancedGetFileHandlerSetDisposition Method |
Sets response header according to file type.
Namespace: CMS.Routing.WebAssembly: CMS.Routing.Web (in CMS.Routing.Web.dll) Version: 10.0.0
Syntax protected virtual void SetDisposition(
string fileName,
string extension
)
Parameters
- fileName
- Type: SystemString
Name of file (e.g. image.png) - extension
- Type: SystemString
File extension
See Also