Click or drag to resize
MediaFileURLProvider.GetMediaFileUrlInternal Method (MediaFileInfo, String, 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: 10.0.0
Syntax
C#
protected virtual string GetMediaFileUrlInternal(
	MediaFileInfo fileInfo,
	string siteName,
	string libraryFolder,
	string filePath
)

Parameters

fileInfo
Type: CMS.MediaLibrary.MediaFileInfo
Media file info object
siteName
Type: System.String
Site name
libraryFolder
Type: System.String
Library folder name
filePath
Type: System.String
File path within the library folder

Return Value

Type: String
See Also