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

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 9.0.0
Syntax
C#
public static byte[] GetFile(
	AttachmentInfo atInfo,
	string siteName
)

Parameters

atInfo
Type: CMS.DocumentEngineAttachmentInfo
Attachment object
siteName
Type: SystemString
Site name

Return Value

Type: Byte
See Also