Click or drag to resize
ModuleCommandsMediaLibraryGetMediaFileUrl Method (String, String)
Returns media url according to site settings.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 11.0.0
Syntax
C#
public static string MediaLibraryGetMediaFileUrl(
	string fileGuid,
	string siteName
)

Parameters

fileGuid
Type: SystemString
File GUID
siteName
Type: SystemString
Site name

Return Value

Type: String
See Also