Click or drag to resize

EAPUtilGetByteBufferFromFile Method

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

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

Parameters

cxt
Type: NetQuarryIAppContext
The application context.
path
Type: SystemString
The fully-qualified, physical path to the file to import.

Return Value

Type: Byte
The content byte array.
See Also