Click or drag to resize
MediaHelperGetMediaType Method
Returns media type according to the specified extension.

Namespace: CMS.Base.Web.UI
Assembly: CMS.Base.Web.UI (in CMS.Base.Web.UI.dll) Version: 10.0.0
Syntax
C#
public static MediaTypeEnum GetMediaType(
	string ext
)

Parameters

ext
Type: SystemString
Extension to check

Return Value

Type: MediaTypeEnum
See Also