Click or drag to resize
FileReadAllBytes Method
Opens a binary file, reads the contents of the file into a byte array, and then closes the file.

Namespace: CMS.IO
Assembly: CMS.IO (in CMS.IO.dll) Version: 11.0.0
Syntax
C#
public static byte[] ReadAllBytes(
	string path
)

Parameters

path
Type: SystemString
Path to file

Return Value

Type: Byte
See Also