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: 10.0.0
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