MediaFileInfoProvider GetMediaFilePath Method (MediaFileInfo, String, String)Kentico 8.0 API Reference
Returns physical path to the media file.

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

Parameters

fileInfo
Type: CMS.MediaLibrary MediaFileInfo
Media file info
siteName
Type: OnlineSystem String
Site name
webFullPath
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