Click or drag to resize
MediaFileInfoProviderGetMediaFileInfo Method (Guid, String)
Returns media file with specified GUID.

Namespace: CMS.MediaLibrary
Assembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 10.0.0
Syntax
C#
public static MediaFileInfo GetMediaFileInfo(
	Guid guid,
	string siteName
)

Parameters

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

Return Value

Type: MediaFileInfo
See Also