Click or drag to resize
GetFileService.SetResponseHeaders Method
Sets response headers.

Namespace: CMS.Routing.Web
Assembly: CMS.Routing.Web (in CMS.Routing.Web.dll) Version: 13.0.131
Syntax
C#
protected void SetResponseHeaders(
	CMSFileResult fileResult,
	string fileName,
	string extension,
	string mimeType
)

Parameters

fileResult
Type: CMS.Base.Routing.CMSFileResult
The CMSFileResult object to set properties on.
fileName
Type: System.String
File name
extension
Type: System.String
File extension
mimeType
Type: System.String
File MIME type
See Also