Click or drag to resize
MediaFileInfoProviderGetMediaFileAbsoluteUrl Method (String, Guid, String)

Note: This API is now obsolete.

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.MediaLibrary
Assembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 12.0.0
Syntax
C#
[ObsoleteAttribute("Use MediaFileURLProvider.GetMediaFileAbsoluteUrl(string siteName, Guid fileGuid, string fileName) method instead.")]
public 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