MediaFileURLProviderGetMediaFileAbsoluteUrl Method (String, Guid, String) |
Returns absolute URL path 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: 10.0.0
Syntaxpublic static string GetMediaFileAbsoluteUrl(
string siteName,
Guid fileGuid,
string fileName
)
Parameters
- siteName
- Type: SystemString
Site name - fileGuid
- Type: SystemGuid
File GUID - fileName
- Type: SystemString
File name
Return Value
Type:
String
See Also