MediaLibraryHelperGetMediaFileUrl Method |
Returns media file URL according to site settings.
Namespace: CMS.MediaLibraryAssembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 8.2.23
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