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