Click or drag to resize
AdvancedGetFileHandlerSetDisposition Method
Sets response header according to file type.

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