Click or drag to resize
AttachmentInfoProviderGetFile 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: 8.2.23
Syntax
C#
public static byte[] GetFile(
	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