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

Note: This API is now obsolete.

Returns absolute URL path to the media file including http://, user permissions are not checked

Namespace: CMS.MediaLibrary
Assembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 12.0.0
Syntax
C#
[ObsoleteAttribute("Use MediaFileURLProvider.GetMediaFileAbsoluteUrl(string siteName, string libraryFolder, string filePath) method instead.")]
public static string GetMediaFileAbsoluteUrl(
	string siteName,
	string libraryFolder,
	string filePath
)

Parameters

siteName
Type: SystemString
Site name
libraryFolder
Type: SystemString
Library folder name
filePath
Type: SystemString
File path within the library folder

Return Value

Type: String
See Also