Click or drag to resize
AttachmentInfoProviderGetAttachmentBinaryInternal Method
Returns attachment binary and optionally store it in file system.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.2.23
Syntax
C#
protected virtual byte[] GetAttachmentBinaryInternal(
	Guid guid,
	int id,
	string siteName,
	bool storeInFileSystem
)

Parameters

guid
Type: SystemGuid
GUID of the attachment to get
id
Type: SystemInt32
ID of the attachment to get
siteName
Type: SystemString
Site name
storeInFileSystem
Type: SystemBoolean
If true, given attachment is stored in file system

Return Value

Type: Byte
Attachment binary.
See Also