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: 13.0.131
Syntax public static byte[] ReadAllBytes(
string path
)
Parameters
- path
- Type: SystemString
Path to file
Return Value
Type:
ByteSee Also