MediaLibraryHelperGetMediaFileUrl Method |
Returns media file URL according to site settings.
Namespace: CMS.MediaLibraryAssembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 9.0.0
Syntax public static string GetMediaFileUrl(
string fileGuid,
string siteName
)
Parameters
- fileGuid
- Type: SystemString
Media file GUID - siteName
- Type: SystemString
Site name
Return Value
Type:
StringSee Also