Opens a binary file, reads the contents of the file into a byte array, and then closes the file.
Namespace: CMS.IOAssembly: CMS.IO (in CMS.IO.dll) Version: 8.2.23
Syntax public static byte[] ReadAllBytes(
string path
)
Parameters
- path
- Type: SystemString
Path to file
Return Value
Type:
ByteSee Also