Click or drag to resize
MediaFileURLProvider.GetMediaFileUrl Method (Guid, String)
Returns relative URL path to the media file which is rewritten to calling GetMediaFile.aspx page where user permissions are checked.

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

Parameters

fileGuid
Type: System.Guid
File GUID
fileName
Type: System.String
File name

Return Value

Type: String
See Also