MediaFileInfoProviderGetMediaFilePath Method (String, String, String, String) |
Returns physical path to the media file.
Namespace: CMS.MediaLibraryAssembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 13.0.131
Syntax public static string GetMediaFilePath(
string siteName,
string libraryFolder,
string filePath,
string webFullPath = null
)
Parameters
- siteName
- Type: SystemString
Site name - libraryFolder
- Type: SystemString
Library folder name - filePath
- Type: SystemString
File path within the library folder - webFullPath (Optional)
- Type: SystemString
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:
StringSee Also