MediaFileInfoProviderGetFile Method |
Returns the file from disk or (if not available on the disk) from database.
Namespace: CMS.MediaLibraryAssembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 13.0.131
Syntax 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:
ByteSee Also