Table of Contents

Class HTTPHelper

Namespace
CMS.Helpers
Assembly
CMS.Helpers.dll

Provides the methods for the safe access to the HTTPContext.

public static class HTTPHelper
Inheritance
object
HTTPHelper

Methods

GetFileDisposition(string, string)

Gets the file disposition.

public static ContentDisposition GetFileDisposition(string fileName, string extension)

Parameters

fileName string

File name (e.g. image.png).

extension string

File extension.

Returns

ContentDisposition