MediaLibraryTransformationFunctionsGetMediaFileUrl Method (Object, Object, Object, Object, Object, Object) |
Returns direct URL to the media file, user permissions are not checked.
Namespace: CMS.MediaLibraryAssembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 9.0.0
Syntax 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:
StringSee Also