Persistate API documentation
FileToByteArray Method (filePath)
NamespacesPersistateUtlFileToByteArray(String)

[This is preliminary documentation and is subject to change.]

Reads the contents of a file into a byte array.
Declaration Syntax
C#
public static byte[] FileToByteArray(
	string filePath
)
Parameters
filePath (String)
The path and filename of the file to read.
Return Value
A byte array containing the contents of the file, or null if there was an exception reading the file.

Assembly: Persistate (Module: Persistate) Version: 0.6.1.20 (0.6.1.20)