Click or drag to resize
AdvancedGetFileHandlerSetResponseContentType Method
Sets content type of the response based on file MIME type

Namespace: CMS.Routing.Web
Assembly: CMS.Routing.Web (in CMS.Routing.Web.dll) Version: 10.0.0
Syntax
C#
protected void SetResponseContentType(
	string filePath
)

Parameters

filePath
Type: SystemString
File path
See Also