Click or drag to resize
MediaLibraryTransformationFunctionsGetMediaFileUrl Method (Object, Object, Object, Object, Object, Object)
Returns direct URL to the media file, user permissions are not checked.

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

Parameters

libraryId
Type: SystemObject
Media library ID
filePath
Type: SystemObject
File path
fileGuid
Type: SystemObject
File GUID
fileName
Type: SystemObject
File name
useSecureLinks
Type: SystemObject
Generate secure link
downloadlink
Type: SystemObject
Determines whether disposition parameter should be added to permanent link

Return Value

Type: String
See Also