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: 9.0.0
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