Click or drag to resize
CMSDialogHelperGetMediaData Method
Returns Media data according to given URL.

Namespace: CMS.Base.Web.UI
Assembly: CMS.Base.Web.UI (in CMS.Base.Web.UI.dll) Version: 12.0.0
Syntax
C#
public static MediaSource GetMediaData(
	string url,
	string siteName
)

Parameters

url
Type: SystemString
URL of media object
siteName
Type: SystemString
Site name

Return Value

Type: MediaSource
See Also