C1.Win.C1DX.4.8 Assembly / C1.Util.DX.Storage Namespace / NativeFile Class / ReadAllBytes Method
The file to open for reading.

In This Topic
ReadAllBytes Method
In This Topic
Opens a binary file, reads the contents of the file into a byte array, and then closes the file.
Syntax
'Declaration
 
Public Shared Function ReadAllBytes( _
   ByVal path As System.String _
) As System.Byte()
 

Parameters

path
The file to open for reading.

Return Value

A byte array containing the contents of the file.
See Also