Click or drag to resize
MetaFileInfoProvider.GetFile Method (MetaFileInfo, String)
Returns the file from disk or (if not available on the disk) from database.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 10.0.0
Syntax
C#
public static byte[] GetFile(
	MetaFileInfo fileInfo,
	string siteName
)

Parameters

fileInfo
Type: CMS.DataEngine.MetaFileInfo
File info
siteName
Type: System.String
Site name

Return Value

Type:Byte[]
See Also