Click or drag to resize
MediaFileInfoProviderGetFileInternal 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: 12.0.0
Syntax
C#
protected virtual byte[] GetFileInternal(
	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