Click or drag to resize
TempFileInfoProviderGetTempFileBinary Method (String, Guid, Int32, String)
Returns the temporary file binary data from disk.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 9.0.0
Syntax
C#
public static byte[] GetTempFileBinary(
	string parentFolder,
	Guid scopeGuid,
	int fileNumber,
	string fileExtension
)

Parameters

parentFolder
Type: SystemString
Parent folder which is located under the temporary files root folder
scopeGuid
Type: SystemGuid
GUID of the parent scope
fileNumber
Type: SystemInt32
Temporary file number
fileExtension
Type: SystemString
Temporary file extension

Return Value

Type: Byte
See Also