MediaLibraryHelperGetMediaRootFolderPath Method |
Returns physical path to the directory where all media libraries are stored.
Namespace: CMS.MediaLibraryAssembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 12.0.0
Syntax public static string GetMediaRootFolderPath(
string siteName,
string webFullPath = null
)
Parameters
- siteName
- Type: SystemString
Site name - 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