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: 12.0.0
Syntax
C#
public static string GetMediaFileUrl(
	Guid fileGuid,
	string siteName
)

Parameters

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

Return Value

Type: String
See Also