MediaFileInfoProvider GetMediaFilePath Method (String, Int32, String, String)Kentico 8.0 API Reference
Returns physical path to the given file path and library.

Namespace: CMS.MediaLibrary
Assembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

filePath
Type: OnlineSystem String
Media file path
fileLibraryId
Type: OnlineSystem Int32
Library ID of the media file
siteName (Optional)
Type: OnlineSystem String
Site name
webFullPath (Optional)
Type: OnlineSystem String
Physical path to the root of the web project (e.g. c:\WebProject\), if it is not specified web application physical path is used

Return Value

Type: OnlineString
See Also