MediaLibraryTransformationFunctionsGetMediaFileUrl Method (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
Syntaxpublic static string GetMediaFileUrl(
Object libraryId,
Object filePath,
Object fileGuid,
Object fileName,
Object useSecureLinks
)
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
Return Value
Type:
String
See Also