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

Namespace: CMS.Forums
Assembly: CMS.Forums (in CMS.Forums.dll) Version: 11.0.0
Syntax
C#
public static byte[] GetAttachmentFile(
	Guid guid,
	string siteName
)

Parameters

guid
Type: SystemGuid
Guid of the attachment file to get
siteName
Type: SystemString
Attachment site name

Return Value

Type: Byte
See Also