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
Assembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 8.2.23
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 parametr should be added to permanent link

Return Value

Type: String
See Also