Click or drag to resize
MediaFileInfoProviderGetFile Method
Returns the file from disk or (if not available on the disk) from database.

Namespace: CMS.MediaLibrary
Assembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 13.0.131
Syntax
C#
public static byte[] GetFile(
	MediaFileInfo fileInfo,
	string libraryFolder,
	string siteName
)

Parameters

fileInfo
Type: CMS.MediaLibraryMediaFileInfo
File info
libraryFolder
Type: SystemString
Library folder
siteName
Type: SystemString
Site name

Return Value

Type: Byte
See Also