Click or drag to resize
MediaFileURLProviderGetMediaFileAbsoluteUrl Method (Guid, String)
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.MediaLibrary
Assembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 13.0.131
Syntax
C#
public static string GetMediaFileAbsoluteUrl(
	Guid fileGuid,
	string fileName
)

Parameters

fileGuid
Type: SystemGuid
File GUID
fileName
Type: SystemString
File name

Return Value

Type: String
See Also