Click or drag to resize
MediaLibraryHelperGetMediaFileUrl Method
Returns media file URL according to site settings.

Namespace: CMS.MediaLibrary
Assembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 8.2.23
Syntax
C#
public static string GetMediaFileUrl(
	string fileGuid,
	string siteName
)

Parameters

fileGuid
Type: SystemString
Media file GUID
siteName
Type: SystemString
Site name

Return Value

Type: String
See Also