Click or drag to resize
MediaLibraryInfoProviderGetMediaLibraryFolderPath Method (MediaLibraryInfo, String, String)
Gets the folder path for the given media library

Namespace: CMS.MediaLibrary
Assembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 8.2.23
Syntax
C#
public static string GetMediaLibraryFolderPath(
	MediaLibraryInfo libInfo,
	string siteName = null,
	string webFullPath = null
)

Parameters

libInfo
Type: CMS.MediaLibraryMediaLibraryInfo
Media library info
siteName (Optional)
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: String
See Also