Click or drag to resize
MediaLibraryTransformationFunctionsGetMediaFileUrl Method (Object, Object)
Returns URL to media file which is rewritten to calling GetMediaFile.aspx page where user permissions are checked.

Namespace: CMS.MediaLibrary.Web.UI
Assembly: CMS.MediaLibrary.Web.UI (in CMS.MediaLibrary.Web.UI.dll) Version: 11.0.0
Syntax
C#
public static string GetMediaFileUrl(
	Object fileGuid,
	Object fileName
)

Parameters

fileGuid
Type: SystemObject
File GUID
fileName
Type: SystemObject
File name

Return Value

Type: String
See Also