Click or drag to resize

EAPUtilGetByteBufferFromLogicalFile Method

Reads the contents of a file into a byte array. Use GetByteBufferFromFile(IAppContext, String) if you have a physical path.

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public static byte[] GetByteBufferFromLogicalFile(
	IAppContext cxt,
	string logicalPath
)

Parameters

cxt
Type: NetQuarryIAppContext
The application context.
logicalPath
Type: SystemString
The logical path to the file to import.

Return Value

Type: Byte
The content byte array.
See Also