Click or drag to resize
MediaLibraryHelperGetMediaSource Method (Guid, String)
Returns MediaSource for given media file.

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

Parameters

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

Return Value

Type: MediaSource
See Also