Click or drag to resize
MediaFileInfoProviderGetMediaFilePath Method (MediaFileInfo, String, String)
Returns physical path to the media file.

Namespace: CMS.MediaLibrary
Assembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 9.0.0
Syntax
C#
public static string GetMediaFilePath(
	MediaFileInfo fileInfo,
	string siteName,
	string webFullPath
)

Parameters

fileInfo
Type: CMS.MediaLibraryMediaFileInfo
Media file info
siteName
Type: SystemString
Site name
webFullPath
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