Click or drag to resize
MediaFileURLProviderGetMediaFileUrl Method (MediaFileInfo, String, String)
Returns relative URL path to the media file, user permissions are not checked.

Namespace: CMS.MediaLibrary
Assembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 8.2.23
Syntax
C#
public static string GetMediaFileUrl(
	MediaFileInfo fileInfo,
	string siteName,
	string libraryFolder
)

Parameters

fileInfo
Type: CMS.MediaLibraryMediaFileInfo
Media file info object
siteName
Type: SystemString
Site name
libraryFolder
Type: SystemString
Library folder name

Return Value

Type: String
See Also