MediaFileURLProviderGetMediaFileUrl Method (Guid, String) |
Returns relative URL path to the media file which is rewritten to calling GetMediaFile.aspx page where user permissions are checked.
Namespace: CMS.MediaLibraryAssembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 8.2.23
Syntax public static string GetMediaFileUrl(
Guid fileGuid,
string fileName
)
Parameters
- fileGuid
- Type: SystemGuid
File GUID - fileName
- Type: SystemString
File name
Return Value
Type:
StringSee Also