MediaFileInfoProviderGetMediaFileAbsoluteUrl Method (Guid, String) |
Note: This API is now obsolete.
Returns absolute URL path for current domain to the media file including http:// which is rewritten to calling GetMediaFile.aspx page where user permissions are checked
Namespace: CMS.MediaLibraryAssembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 12.0.0
Syntax [ObsoleteAttribute("Use MediaFileURLProvider.GetMediaFileAbsoluteUrl(Guid fileGuid, string fileName) method instead.")]
public static string GetMediaFileAbsoluteUrl(
Guid fileGuid,
string fileName
)
Parameters
- fileGuid
- Type: SystemGuid
File GUID - fileName
- Type: SystemString
File name
Return Value
Type:
StringSee Also