Click or drag to resize
AttachmentBinaryHelperGetAttachmentBinaryInternal Method (Guid, 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: 12.0.0
Syntax
C#
protected virtual byte[] GetAttachmentBinaryInternal(
	Guid guid,
	string siteName
)

Parameters

guid
Type: SystemGuid
GUID of the file to get.
siteName
Type: SystemString
Site name.

Return Value

Type: Byte
See Also